Skip to contentSkip to conversation

perf_counter: documentation update

PATCH In review Yong Wang 1 participant 2 messages Jun 3, 2009 – Jun 4, 2009 Documentation

lore
Share & tools
lore

Yong Wang

author
#0 lore raw

PATCH 1/1 perf_counter: documentation update

The 'nmi' bit is no longer there.

---
 design.txt |    7 -------
 1 file changed, 7 deletions(-)
Documentation/perf_counter/design.txt +0 -7
index 9930c4b..d325076 100644
@@ -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
#1 lore raw

[tip:perfcounters/core] perf_counter: Documentation update

Commit-ID:  3aff27ca84fa94311ae99189e54fed8d83b69fc1
Gitweb:     http://git.kernel.org/tip/3aff27ca84fa94311ae99189e54fed8d83b69fc1
Author:     Yong Wang <[email protected]>
AuthorDate: Wed, 3 Jun 2009 16:42:25 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 4 Jun 2009 13:20:12 +0200

perf_counter: Documentation update

The 'nmi' bit is no longer there.

Cc Peter Zijlstra <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Corey Ashford <[email protected]>
Cc Marcelo Tosatti <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Arjan van de Ven <[email protected]>

LKML-Reference: <[email protected]>

---
 Documentation/perf_counter/design.txt |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
Documentation/perf_counter/design.txt +0 -7
index 9930c4b..d325076 100644
@@ -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