Rather than collecting data to correlate the perf_clock timestamps to time-of-day this approach adds the realtime clock value directly to the perf sample.
David Ahern (5): perf events: add support for realtime clock attribute perf events: userspace plumbing for realtime sample attribute perf record: add time-of-day option perf script: add support for time-of-day strings in output perf python: add REALTIME to constants include/linux/perf_event.h | 4 +- kernel/perf_event.c | 12 ++++ tools/perf/Documentation/perf-record.txt | 4 ++ tools/perf/Documentation/perf-script.txt | 8 +++- tools/perf/builtin-record.c | 5 ++ tools/perf/builtin-script.c | 84 +++++++++++++++++++++++++++++- tools/perf/util/event.c | 1 + tools/perf/util/event.h | 1 + tools/perf/util/evsel.c | 10 ++++ tools/perf/util/python.c | 1 + tools/perf/util/session.c | 6 ++ 11 files changed, 133 insertions(+), 3 deletions(-) -- 1.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
