diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-04 13:43:53 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-04 13:43:53 +0300 |
commit | 2b578459c3274941156093eba149745e43f93067 (patch) | |
tree | 050f229146a216318511378e4de8096871e65ec9 /include/linux/perf_counter.h | |
parent | 8163d88c79dca35478a2405c837733ac50ea4c39 (diff) | |
parent | 2743a5b0fa6f309da904f2190a9cc25deee34dbd (diff) | |
download | linux-2b578459c3274941156093eba149745e43f93067.tar.xz |
Merge branch 'rfc' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perfcounters into perfcounters/core
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 186efaf49665..c42455ab1558 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h @@ -69,9 +69,10 @@ struct perf_counter_hw_event { __s64 type; __u64 irq_period; - __u32 record_type; + __u64 record_type; + __u64 read_format; - __u32 disabled : 1, /* off by default */ + __u64 disabled : 1, /* off by default */ nmi : 1, /* NMI sampling */ raw : 1, /* raw event type */ inherit : 1, /* children inherit it */ @@ -80,10 +81,15 @@ struct perf_counter_hw_event { exclude_user : 1, /* don't count user */ exclude_kernel : 1, /* ditto kernel */ exclude_hv : 1, /* ditto hypervisor */ + exclude_idle : 1, /* don't count when idle */ - __reserved_1 : 23; + __reserved_1 : 55; + + __u32 extra_config_len; + __u32 __reserved_4; __u64 __reserved_2; + __u64 __reserved_3; }; /* |