projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Add reference counting for cpu_map object
[deliverable/linux.git]
/
tools
/
perf
/
util
/
evsel.c
diff --git
a/tools/perf/util/evsel.c
b/tools/perf/util/evsel.c
index 1b56047af96b0078a255773ee6ae62bf73827fd6..31b0afb6882579053ea68ccfb32f1b61f6f09bf9 100644
(file)
--- a/
tools/perf/util/evsel.c
+++ b/
tools/perf/util/evsel.c
@@
-885,6
+885,7
@@
void perf_evsel__exit(struct perf_evsel *evsel)
perf_evsel__free_fd(evsel);
perf_evsel__free_id(evsel);
close_cgroup(evsel->cgrp);
+ cpu_map__put(evsel->cpus);
zfree(&evsel->group_name);
zfree(&evsel->name);
perf_evsel__object.fini(evsel);
This page took
0.02655 seconds
and
5
git commands to generate.