diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-11-20 16:15:18 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-29 12:20:45 -0300 |
commit | e0e6a6ca3ac211cc07486330a2b89f41ea31b4dd (patch) | |
tree | 8def79b66206f6d1d387d23297ddb70f4e491396 /tools/perf/util/evsel.c | |
parent | 7736627b865defff2430e95df235b4aa2450bc37 (diff) | |
download | linux-stable-e0e6a6ca3ac211cc07486330a2b89f41ea31b4dd.tar.gz linux-stable-e0e6a6ca3ac211cc07486330a2b89f41ea31b4dd.tar.bz2 linux-stable-e0e6a6ca3ac211cc07486330a2b89f41ea31b4dd.zip |
perf stat: Factor out open error handling
Factor out the open error handling into a separate function. This is
useful for followon patches who need to duplicate this.
No behavior change intended.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20191121001522.180827-9-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evsel.c')
0 files changed, 0 insertions, 0 deletions