Commit 3aff27ca authored by Yong Wang's avatar Yong Wang Committed by Ingo Molnar
Browse files

perf_counter: Documentation update

The 'nmi' bit is no longer there.
Signed-off-by: default avatarYong Wang <>
Cc: Peter Zijlstra <>
Cc: Mike Galbraith <>
Cc: Paul Mackerras <>
Cc: Corey Ashford <>
Cc: Marcelo Tosatti <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Arjan van de Ven <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent 1b58c251
......@@ -48,7 +48,6 @@ struct perf_counter_hw_event {
__u32 read_format;
__u64 disabled : 1, /* off by default */
nmi : 1, /* NMI sampling */
inherit : 1, /* children inherit it */
pinned : 1, /* must always be on PMU */
exclusive : 1, /* only group on PMU */
......@@ -195,12 +194,6 @@ The 'disabled' bit specifies whether the counter starts out disabled
or enabled. If it is initially disabled, it can be enabled by ioctl
or prctl (see below).
The 'nmi' bit specifies, for hardware events, whether the counter
should be set up to request non-maskable interrupts (NMIs) or normal
interrupts. This bit is ignored if the user doesn't have
CAP_SYS_ADMIN privilege (i.e. is not root) or if the CPU doesn't
generate NMIs from hardware counters.
The 'inherit' bit, if set, specifies that this counter should count
events on descendant tasks as well as the task specified. This only
applies to new descendents, not to any existing descendents at the
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment