[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA93ih3-WUZakRuXtur6Ac9XELnEzfRuF9gJ8kn2PPi8+nxD_A@mail.gmail.com>
Date: Tue, 30 Aug 2016 21:02:13 +0900
From: Masami Hiramatsu <masami.hiramatsu@...aro.org>
To: Daniel Wagner <daniel.wagner@...-carit.de>
Cc: Binoy Jayan <binoy.jayan@...aro.org>,
"Steven Rostedt (Red Hat)" <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>, Arnd Bergmann <arnd@...db.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 0/3] *** Latency histograms - IRQSOFF,PREEMPTOFF ***
2016-08-30 20:39 GMT+09:00 Daniel Wagner <daniel.wagner@...-carit.de>:
> Hi Binoy,
>
> On 08/30/2016 12:28 PM, Binoy Jayan wrote:
>>
>> Examples of triggers:
>> echo 'hist:key=latency.log2:val=hitcount:sort=latency' >
>> /sys/kernel/debug/tracing/events/latency/latency_preempt/trigger
>> echo 'hist:key=cpu,latency:val=hitcount:sort=latency if cpu==1' >
>> /sys/kernel/debug/tracing/events/latency/latency_preempt/trigger
>> echo 'hist:key=ltype,cpu:val=latency:sort=ltype,cpu if ltype==0' >
>> /sys/kernel/debug/tracing/events/latency/latency_preempt/trigger
>>
>> Histogram output:
>> cat /sys/kernel/debug/tracing/events/latency/latency_preempt/hist
>
>
> Could you also add couple of test cases to
> tools/testing/selftests/ftrace/test.d/trigger?
>
> Especially the sorting thing you mentioned in the other mail? Obviously
> first we need to figure out what is the expected behavior of it :)
Good idea! And also, for both patch, could you show the output examples?
It might help people to imagine what it provides.
Thank you,
--
Masami Hiramatsu
Powered by blists - more mailing lists