On 06/12/2012 09:05 PM, Arnaldo Carvalho de Melo wrote:
Could you please check out if my tmp.perf/core branch fixes the problems reported lately about event name mismatches from perf.data files collected in other machines, etc.
As of a8dfce8b37b2e0d216860191cd50fde501eeb036, perf sched replay doesn't work because (perf_evlist__set_tracepoints_handlers):
... err = trace_event__id(assocs[i].name); <-- err is host id, not from perf.data if (err < 0) goto out; evsel = perf_evlist__find_tracepoint_by_id(evlist, err); <-- oops! ...
Assuming event names are set, can we just lookup by name?
Dmitry