Thomas Renninger 20c457b858 perf timechart: Adjust perf timechart to the new power events
builtin-timechart must only pass -e power:xy events if they are supported by
the running kernel, otherwise try to fetch the old power:power{start,end}
events.

For this I added the tiny helper function:

   int is_valid_tracepoint(const char *event_string)

to parse-events.[hc], which could be more generic as an interface and support
hardware/software/... events, not only tracepoints, but someone else could
extend that if needed...

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
LKML-Reference: <1294073445-14812-4-git-send-email-trenn@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-01-04 08:16:54 +01:00
..
2010-12-04 23:05:19 -02:00
2010-08-21 11:22:47 -03:00
2010-08-22 21:10:35 +02:00
2010-11-30 20:58:42 -02:00
2011-01-03 16:39:04 -02:00
2010-12-04 23:05:19 -02:00
2010-10-21 16:11:44 -02:00
2010-08-21 11:22:47 -03:00
2010-05-14 20:05:21 -03:00