summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-10-25 15:51:40 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-12-17 15:13:38 -0300
commit86ebb09f96fe6886e1e5d53b648df5537ba859ca (patch)
tree2e90a9dec211eceba6ab1de3c99fc64783140a95 /tools/perf/util/event.h
parent802c9048b824eaa3c75d875e2d107460ad586439 (diff)
downloadop-kernel-dev-86ebb09f96fe6886e1e5d53b648df5537ba859ca.zip
op-kernel-dev-86ebb09f96fe6886e1e5d53b648df5537ba859ca.tar.gz
perf tools: Add event_update event cpus type
Adding the cpumask 'event update' event, that stores/transfer the cpumask for a event. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Kan Liang <kan.liang@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1445784728-21732-25-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index 235196b..b7ffb7e 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -312,6 +312,11 @@ enum {
PERF_EVENT_UPDATE__UNIT = 0,
PERF_EVENT_UPDATE__SCALE = 1,
PERF_EVENT_UPDATE__NAME = 2,
+ PERF_EVENT_UPDATE__CPUS = 3,
+};
+
+struct event_update_event_cpus {
+ struct cpu_map_data cpus;
};
struct event_update_event_scale {
OpenPOWER on IntegriCloud