trace_event__tp_format_id
tp_format = trace_event__tp_format_id(evsel->core.attr.config);
struct tep_event *trace_event__tp_format_id(int id);