Messages in this thread | | | Date | Thu, 26 Mar 2009 16:52:15 +1100 | From | Paul Mackerras <> | Subject | Re: [RFC][PATCH 2/3] perf_counter: executable mmap() information |
| |
Peter Zijlstra writes:
> --- linux-2.6.orig/include/linux/perf_counter.h > +++ linux-2.6/include/linux/perf_counter.h > @@ -137,7 +137,9 @@ struct perf_counter_hw_event { > exclude_kernel : 1, /* ditto kernel */ > exclude_hv : 1, /* ditto hypervisor */ > exclude_idle : 1, /* don't count when idle */ > - include_tid : 1, /* include the tid */ > + include_tid : 1, /* include the tid */ > + mmap : 1, /* include mmap data */ > + munmap : 1, /* include munmap data */ > > __reserved_1 : 54;
Nit: need to adjust the size of __reserved_1 here. Or maybe just get rid of it?
Paul.
| |