projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf db-export: Fix missing reference count get in call_path_from_sample()
[platform/kernel/linux-starfive.git]
/
tools
/
perf
/
util
/
db-export.c
diff --git
a/tools/perf/util/db-export.c
b/tools/perf/util/db-export.c
index
b9fb71a
..
1064291
100644
(file)
--- a/
tools/perf/util/db-export.c
+++ b/
tools/perf/util/db-export.c
@@
-253,8
+253,8
@@
static struct call_path *call_path_from_sample(struct db_export *dbe,
*/
addr_location__init(&al);
al.sym = node->ms.sym;
- al.map =
node->ms.map
;
- al.maps =
thread__maps(thread
);
+ al.map =
map__get(node->ms.map)
;
+ al.maps =
maps__get(thread__maps(thread)
);
al.addr = node->ip;
if (al.map && !al.sym)