mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: Steven Rostedt <rostedt@kernel.org>,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v4 1/3] tracing: Have tracer option be instance specific
Date: Mon, 17 Nov 2025 11:32:01 -0500	[thread overview]
Message-ID: <20251117113201.46983cbb@gandalf.local.home> (raw)
In-Reply-To: <aRtHWXzYa8ijUIDa@black.igk.intel.com>

On Mon, 17 Nov 2025 17:03:37 +0100
Andy Shevchenko <andriy.shevchenko@intel.com> wrote:

> > @@ -5152,12 +5180,14 @@ static int tracing_trace_options_show(struct seq_file *m, void *v)
> >  			seq_printf(m, "no%s\n", trace_options[i]);
> >  	}
> >  
> > -	trace = tr->current_trace;
> > -	if (!trace->flags || !trace->flags->opts)
> > +	flags = tr->current_trace_flags;
> > +	if (!flags || !flags->opts)
> >  		return 0;
> >  
> > -	tracer_flags = tr->current_trace->flags->val;
> > -	trace_opts = tr->current_trace->flags->opts;  
> 
> > +	trace = tr->current_trace;  
> 
> Removing it and this line fixes, but I'm not sure that's correct one, so feel
> free to fold the change or if it will be a fix,
> Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com>

Thanks for the report. Yeah, that variable is no longer used and can be
removed. I'll send a patch.

-- Steve


> 
> > +	tracer_flags = flags->val;
> > +	trace_opts = flags->opts;  


  reply	other threads:[~2025-11-17 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-11 23:24 [PATCH v4 0/3] tracing: Fix tracer options per instance Steven Rostedt
2025-11-11 23:24 ` [PATCH v4 1/3] tracing: Have tracer option be instance specific Steven Rostedt
2025-11-17 16:03   ` Andy Shevchenko
2025-11-17 16:32     ` Steven Rostedt [this message]
2025-11-11 23:24 ` [PATCH v4 2/3] tracing: Have function tracer define options per instance Steven Rostedt
2025-11-11 23:24 ` [PATCH v4 3/3] tracing: Have function graph " Steven Rostedt

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=20251117113201.46983cbb@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=andriy.shevchenko@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=rostedt@kernel.org \
    /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®