diff options
Diffstat (limited to 'tools/perf/builtin-inject.c')
-rw-r--r-- | tools/perf/builtin-inject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c index 3a7387551369..6a3af0013d68 100644 --- a/tools/perf/builtin-inject.c +++ b/tools/perf/builtin-inject.c | |||
@@ -209,7 +209,7 @@ static int perf_event__inject_buildid(struct perf_tool *tool, | |||
209 | 209 | ||
210 | cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; | 210 | cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; |
211 | 211 | ||
212 | thread = machine__findnew_thread(machine, sample->pid, sample->pid); | 212 | thread = machine__findnew_thread(machine, sample->pid, sample->tid); |
213 | if (thread == NULL) { | 213 | if (thread == NULL) { |
214 | pr_err("problem processing %d event, skipping it.\n", | 214 | pr_err("problem processing %d event, skipping it.\n", |
215 | event->header.type); | 215 | event->header.type); |