[PATCH v2 1/4] perf/trace: Add function to find event type by name

2015-09-07 Thread Takao Indoh
This patch adds function to find struct trace_event by event name like "sched_switch" , and return its type so that Intel PT logger can enable the trace event in kernel. Intel PT logger needs this because it needs sched_switch tracing to collect side-band data. Signed-off-by: Takao Indoh ---

[PATCH v2 1/4] perf/trace: Add function to find event type by name

2015-09-07 Thread Takao Indoh
This patch adds function to find struct trace_event by event name like "sched_switch" , and return its type so that Intel PT logger can enable the trace event in kernel. Intel PT logger needs this because it needs sched_switch tracing to collect side-band data. Signed-off-by: Takao Indoh