summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-12-03 10:06:42 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-12-07 18:12:58 -0300
commit3e27c92081131738fa4d7dd71673aa6e8c24866d (patch)
tree559c5bf5d76d3d71bc5316a7e6e7c9fc74d87109 /tools/perf/builtin-stat.c
parente98a4cbb01e0ba1110eba5166a425b3eab9b2244 (diff)
downloadlinux-3e27c92081131738fa4d7dd71673aa6e8c24866d.tar.gz
perf evlist: Factor perf_evlist__(enable|disable) functions
Use perf_evsel__(enable|disable) functions in perf_evlist__(enable|disable) functions in order to centralize ioctl enable/disable calls. This way we eliminate 2 places calling directly ioctl. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@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/1449133606-14429-4-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
0 files changed, 0 insertions, 0 deletions