[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190501151655.51469a4c@gandalf.local.home>
Date: Wed, 1 May 2019 15:16:55 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: "Paul E. McKenney" <paulmck@...ux.ibm.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org, andrea.parri@...rulasolutions.com
Subject: Re: Question about sched_setaffinity()
On Wed, 1 May 2019 12:12:13 -0700
"Paul E. McKenney" <paulmck@...ux.ibm.com> wrote:
> OK, what I did was to apply the patch at the end of this email to -rcu
> branch dev, then run rcutorture as follows:
>
> nohup tools/testing/selftests/rcutorture/bin/kvm.sh --cpus 8 --duration 2 --configs "TRIVIAL" --bootargs "trace_event=sched:sched_switch,sched:sched_wakeup ftrace=function_graph ftrace_graph_filter=sched_setaffinity,migration_cpu_stop"
>
> This resulted in the console output that I placed here:
>
> http://www2.rdrop.com/~paulmck/submission/console.log.gz
>
> But I don't see calls to sched_setaffinity() or migration_cpu_stop().
> Steve, is something else needed on the kernel command line in addition to
> the following?
>
> ftrace=function_graph ftrace_graph_filter=sched_setaffinity,migration_cpu_stop
Do you have function graph enabled in the config?
[ 2.098303] ftrace bootup tracer 'function_graph' not registered.
-- Steve
Powered by blists - more mailing lists