Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-13 Thread Rik van Riel
On Wed, 2016-07-13 at 12:12 -0700, Tony Jones wrote: > On 07/12/2016 11:16 PM, Janani Ravichandran wrote: > > > > > > > > I also have a patch which adds a similar latency script (python) > > > but interfaces it into the perf script setup. > > I’m looking for pointers for writing latency scripts u

Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-13 Thread Tony Jones
On 07/12/2016 11:16 PM, Janani Ravichandran wrote: >> I also have a patch which adds a similar latency script (python) but >> interfaces it into the perf script setup. > > I’m looking for pointers for writing latency scripts using tracepoints as I’m > new to it. Can I have a look at yours, pleas

Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-12 Thread Janani Ravichandran
> On Jul 13, 2016, at 6:05 AM, Tony Jones wrote: > > On 07/11/2016 07:18 AM, Vlastimil Babka wrote: >> On 07/09/2016 11:05 AM, Janani Ravichandran wrote: >>> >>> TP_fast_assign( >>> + __entry->name = shr->name; >>> __entry->shr = shr; >>> __entry->shrink =

Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-12 Thread Tony Jones
On 07/11/2016 07:18 AM, Vlastimil Babka wrote: > On 07/09/2016 11:05 AM, Janani Ravichandran wrote: >> Currently, the mm_shrink_slab_start and mm_shrink_slab_end >> tracepoints tell us how much time was spent in a shrinker, the number of >> objects scanned, etc. But there is no information about th

Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-11 Thread Vlastimil Babka
On 07/09/2016 11:05 AM, Janani Ravichandran wrote: Currently, the mm_shrink_slab_start and mm_shrink_slab_end tracepoints tell us how much time was spent in a shrinker, the number of objects scanned, etc. But there is no information about the identity of the shrinker. This patch enables the trace

Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-09 Thread kbuild test robot
Hi, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.7-rc6 next-20160708] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Janani-Ravichandran/Add-names-of-shrin

[PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-09 Thread Janani Ravichandran
Currently, the mm_shrink_slab_start and mm_shrink_slab_end tracepoints tell us how much time was spent in a shrinker, the number of objects scanned, etc. But there is no information about the identity of the shrinker. This patch enables the trace output to display names of shrinkers. --- include/