lkml.org 
[lkml]   [2009]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-03-26 06:55    [from the cache]
©2003-2011 Jasper Spaans