diff options
author | Thomas Renninger <[email protected]> | 2011-01-03 17:50:45 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-01-04 08:16:54 +0100 |
commit | 20c457b8587bee4644d998331d9e13be82e05b4c (patch) | |
tree | e1864952316ad24af3bea22d09753e043eb6ee75 /net/unix/af_unix.c | |
parent | 25e41933b58777f2d020c3b0186b430ea004ec28 (diff) |
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 <[email protected]>
Acked-by: Arjan van de Ven <[email protected]>
Acked-by: Jean Pihet <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions