On Mon, 27 Aug 2018 11:17:56 +0300 "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote: > diff --git a/kernel-shark/trace-graph.c b/kernel-shark/trace-graph.c > index 808b2f3..88870c1 100644 > --- a/kernel-shark/trace-graph.c > +++ b/kernel-shark/trace-graph.c > @@ -1133,7 +1133,7 @@ int trace_graph_check_sched_switch(struct graph_info *ginfo, > * First time through, register any missing > * comm / pid mappings. > */ > - if (!pevent_pid_is_registered(ginfo->pevent, *pid)) > + if (!tep_find_event_by_record(ginfo->pevent, *pid)) Hmm, this isn't just a name change, but a change in function. Did you mean this? -- Steve > tep_register_comm(ginfo->pevent, > *comm, *pid); > }