OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Set thread->mg.machine in all places
[android-x86/kernel.git]
/
tools
/
perf
/
util
/
thread.c
diff --git
a/tools/perf/util/thread.c
b/tools/perf/util/thread.c
index
c414117
..
8db9626
100644
(file)
--- a/
tools/perf/util/thread.c
+++ b/
tools/perf/util/thread.c
@@
-15,7
+15,7
@@
int thread__init_map_groups(struct thread *thread, struct machine *machine)
pid_t pid = thread->pid_;
if (pid == thread->tid || pid == -1) {
- thread->mg = map_groups__new();
+ thread->mg = map_groups__new(
machine
);
} else {
leader = machine__findnew_thread(machine, pid, pid);
if (leader)