]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf cpu_map: Add cpu_map__new_event function
authorJiri Olsa <jolsa@kernel.org>
Sun, 25 Oct 2015 14:51:25 +0000 (15:51 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 17:38:18 +0000 (14:38 -0300)
commitf77b57ad4fc42a074eae564bbb6660f0a3ff5503
tree9c33eec565c48c35e34dc95ae53921244611cca6
parent6c872901af07c41745f1abf5ceac9b3b4d9cdbb6
perf cpu_map: Add cpu_map__new_event function

Introducing the cpu_map__new_event function to create a struct cpu_map
object from a cpu_map 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-10-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/cpumap.c
tools/perf/util/cpumap.c
tools/perf/util/cpumap.h