Skip to content

perf events: Add time-of-day to perf samples

David Ahern linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf events: add support for realtime clock attributeinclude/linux/perf_event.h kernel/perf_event.c+15 -13 replies
2/5perf events: userspace plumbing for realtime sample attributetools/perf/util/event.c tools/perf/util/event.h tools/perf/util/evsel.c +1 more+18 -00 replies
3/5perf record: add time-of-day optiontools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c+9 -00 replies
4/5perf script: add support for time-of-day strings in outputtools/perf/Documentation/perf-script.txt tools/perf/builtin-script.c+90 -20 replies
5/5perf python: add REALTIME to constantstools/perf/util/python.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] perf events: Add time-of-day to perf samples

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(-)
Signature · 1 line
1.7.4