projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
coresight: perf: Release Coresight path when alloc trace id failed
[linux-2.6-microblaze.git]
/
drivers
/
hwtracing
/
coresight
/
coresight-etm-perf.c
diff --git
a/drivers/hwtracing/coresight/coresight-etm-perf.c
b/drivers/hwtracing/coresight/coresight-etm-perf.c
index
711f451
..
89e8ed2
100644
(file)
--- a/
drivers/hwtracing/coresight/coresight-etm-perf.c
+++ b/
drivers/hwtracing/coresight/coresight-etm-perf.c
@@
-402,6
+402,7
@@
static void *etm_setup_aux(struct perf_event *event, void **pages,
trace_id = coresight_trace_id_get_cpu_id(cpu);
if (!IS_VALID_CS_TRACE_ID(trace_id)) {
cpumask_clear_cpu(cpu, mask);
+ coresight_release_path(path);
continue;
}