]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
perf_counter tools: Remove the last nmi bits
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 2 Jun 2009 13:56:26 +0000 (15:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 2 Jun 2009 19:45:28 +0000 (21:45 +0200)
Everything is nmi these days, remove the userspace bits so that
the kernel can drop the interface.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-stat.c
Documentation/perf_counter/builtin-top.c

index 588679167c888146d083bf38f1f0238027bef58e..644f850b7bde083ce26bc2751ed0c3e209679372 100644 (file)
@@ -84,7 +84,6 @@ static void create_perfstat_counter(int counter)
        memset(&hw_event, 0, sizeof(hw_event));
        hw_event.config         = event_id[counter];
        hw_event.record_type    = 0;
-       hw_event.nmi            = 1;
        hw_event.exclude_kernel = event_mask[counter] & EVENT_MASK_KERNEL;
        hw_event.exclude_user   = event_mask[counter] & EVENT_MASK_USER;
 
index 24a887907a7ad33792133859c69176d3d91170bf..a2cff7b05276bebe37dc2bd01fdb6cd417c4ff18 100644 (file)
@@ -581,7 +581,6 @@ static int __cmd_top(void)
                        hw_event.config         = event_id[counter];
                        hw_event.irq_period     = event_count[counter];
                        hw_event.record_type    = PERF_RECORD_IP | PERF_RECORD_TID;
-                       hw_event.nmi            = 1;
                        hw_event.mmap           = use_mmap;
                        hw_event.munmap         = use_munmap;
                        hw_event.freq           = freq;