aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/perfstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/perfstat.c')
-rw-r--r--Documentation/perf_counter/perfstat.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Documentation/perf_counter/perfstat.c b/Documentation/perf_counter/perfstat.c
index 3364dcb9dd9d..fd594468e655 100644
--- a/Documentation/perf_counter/perfstat.c
+++ b/Documentation/perf_counter/perfstat.c
@@ -54,14 +54,8 @@
54 54
55#include "perfcounters.h" 55#include "perfcounters.h"
56 56
57static int nr_counters = 0;
58static int nr_cpus = 0; 57static int nr_cpus = 0;
59 58
60static int event_id[MAX_COUNTERS] =
61 { -2, -5, -4, -3, 0, 1, 2, 3};
62
63static int event_raw[MAX_COUNTERS];
64
65static int system_wide = 0; 59static int system_wide = 0;
66 60
67static void display_help(void) 61static void display_help(void)
@@ -127,8 +121,6 @@ static void process_options(int argc, char *argv[])
127 121
128 if (!nr_counters) 122 if (!nr_counters)
129 nr_counters = 8; 123 nr_counters = 8;
130 else
131 nr_counters++;
132 return; 124 return;
133 125
134err: 126err: