aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-03-31 00:19:31 +0200
committerArnaldo Carvalho de Melo <[email protected]>2015-04-08 10:04:55 -0300
commit814c8c38e13c7050259c72f89bb01f3fc903f642 (patch)
treebcefeebf548cb2bef07ee42b81518a19ccfe7795 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentff5f3bbd40bfb8632f826f1f83223d95363f36af (diff)
perf record: Add clockid parameter
Teach perf-record about the new perf_event_attr::{use_clockid, clockid} fields. Add a simple parameter to set the clock (if any) to be used for the events to be recorded into the data file. Since we store the entire perf_event_attr in the EVENT_DESC section we also already store the used clockid in the data file. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: David Ahern <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Stultz <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Yunlong Song <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Conditionally define CLOCK_BOOTTIME, at least rhel6 doesn't have it - dsahern Ditto for CLOCK_MONOTONIC_RAW, sles11sp2 doesn't have it - yunlong.song ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions