perf tools: Remove references to struct ip_event
[deliverable/linux.git] / tools / perf / builtin-kmem.c
index c32477837cb0eb227cd8c28801779c1af31434e9..c2dff9cb1f2ce1ac150401d7b859229beb53998e 100644 (file)
@@ -305,8 +305,8 @@ static int process_sample_event(struct perf_tool *tool __maybe_unused,
                                struct perf_evsel *evsel,
                                struct machine *machine)
 {
-       struct thread *thread = machine__findnew_thread(machine, event->ip.pid,
-                                                       event->ip.pid);
+       struct thread *thread = machine__findnew_thread(machine, sample->pid,
+                                                       sample->pid);
 
        if (thread == NULL) {
                pr_debug("problem processing %d event, skipping it.\n",
This page took 0.026196 seconds and 5 git commands to generate.