mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Linyu Yuan <quic_linyyuan@quicinc.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
	<linux-kernel@vger.kernel.org>, <bpf@vger.kernel.org>
Subject: Re: [RFC PATCH 2/2] trace: allocate temparary buffer for trace output usage
Date: Wed, 14 Dec 2022 22:16:09 -0500	[thread overview]
Message-ID: <20221214221609.1d8f62be@gandalf.local.home> (raw)
In-Reply-To: <125146b7-3371-2d66-4d25-b829d9f334ea@quicinc.com>

On Thu, 15 Dec 2022 09:53:27 +0800
Linyu Yuan <quic_linyyuan@quicinc.com> wrote:

> is it possible add a generic macro like #define __get_buf(offset, len)  
> (p->buffer + (offset))  ?
> 
> it only use buffer filed of struct trace_seq .

If it works for you, I guess. I'd like to see the patch and use case.

-- Steve

      reply	other threads:[~2022-12-15  3:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 14:11 [RFC PATCH 1/2] trace: add new file under include/trace/stages/ for perf/bpf Linyu Yuan
2022-12-14 14:11 ` [RFC PATCH 2/2] trace: allocate temparary buffer for trace output usage Linyu Yuan
2022-12-14 14:25   ` Steven Rostedt
2022-12-15  1:22     ` Linyu Yuan
2022-12-15  1:53       ` Linyu Yuan
2022-12-15  3:16         ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221214221609.1d8f62be@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=bpf@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=quic_linyyuan@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®