[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230906090252.36219543@gandalf.local.home>
Date: Wed, 6 Sep 2023 09:02:52 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Zheng Yejian <zhengyejian1@...wei.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>,
Ajay Kaher <akaher@...are.com>, <shuah@...nel.org>,
<linux-kernel@...r.kernel.org>,
<linux-trace-kernel@...r.kernel.org>,
<linux-kselftest@...r.kernel.org>,
Shuah Khan <skhan@...uxfoundation.org>,
Ye Weihua <yeweihua4@...wei.com>
Subject: Re: [PATCH] selftests/ftrace: Correctly enable event in
instance-event.tc
On Wed, 6 Sep 2023 08:56:21 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> On Wed, 6 Sep 2023 19:57:24 +0800
> Zheng Yejian <zhengyejian1@...wei.com> wrote:
>
> > BTW, I do reproduce with following testcase fix, then just run:
> > ./ftracetest test.d/instances/instance-event.tc
> > diff --git
> > a/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc
> > b/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc
> > index 0eb47fbb3f44..42422e425107 100644
> > --- a/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc
> > +++ b/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc
> > @@ -39,7 +39,7 @@ instance_read() {
> >
> > instance_set() {
> > while :; do
> > - echo 1 > foo/events/sched/sched_switch
> > + echo 1 > foo/events/sched/sched_switch/enable
> > done 2> /dev/null
> > }
>
> Ah thanks. I didn't have that on my test box :-p
>
> Although I'm still having issues reproducing it. Do you have anything
> special on your kernel command line?
>
Also, which branch are you testing? What's the sha of the code you are testing?
-- Steve
Powered by blists - more mailing lists