summaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/util/parse-events.h
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/util/parse-events.h')
-rw-r--r--Documentation/perf_counter/util/parse-events.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/perf_counter/util/parse-events.h b/Documentation/perf_counter/util/parse-events.h
new file mode 100644
index 000000000000..6e2ebe5ff7d7
--- /dev/null
+++ b/Documentation/perf_counter/util/parse-events.h
@@ -0,0 +1,10 @@
+
+extern int nr_counters;
+extern __u64 event_id[MAX_COUNTERS];
+
+extern int parse_events(const struct option *opt, const char *str, int unset);
+
+#define EVENTS_HELP_MAX (128*1024)
+
+extern void create_events_help(char *help_msg);
+