Skip to content

force absolute timestamp trace option

Korben Rusek linux-doc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add force-abs-timestamp trace option.Documentation/trace/ftrace.rst kernel/trace/trace.c kernel/trace/trace.h+12 -00 replies
2/2tests for absolute timestamptools/testing/selftests/Makefile tools/testing/selftests/timestamp/Makefile tools/testing/selftests/timestamp/abs-test.sh +1 more+382 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Shier
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] force absolute timestamp trace option

Normally a data event includes the delta time between itself and the previous data event. But if a write interrupts another write then the event cannot check the timestamp of the previous event and so it uses a delta of 0.

Adds a new trace option: force-abs-timestamp. When this is on each event is proceeded by an absolute timestamp event.

This follows from a discussion between [email protected] and Steven Rostedt found here:

https://lkml.org/lkml/2019/5/24/710

Korben Rusek (2):
Add force-abs-timestamp trace option.
tests for absolute timestamp

 Documentation/trace/ftrace.rst                |   5 +
 kernel/trace/trace.c                          |   4 +
 kernel/trace/trace.h                          |   1 +
 tools/testing/selftests/Makefile              |   1 +
 tools/testing/selftests/timestamp/Makefile    |  25 +++
 tools/testing/selftests/timestamp/abs-test.sh | 156 ++++++++++++++
 .../selftests/timestamp/abs-timestamp.c       | 198 ++++++++++++++++++
 7 files changed, 390 insertions(+)
 create mode 100644 tools/testing/selftests/timestamp/Makefile
 create mode 100644 tools/testing/selftests/timestamp/abs-test.sh
 create mode 100644 tools/testing/selftests/timestamp/abs-timestamp.c
Signature · 1 line
2.27.0.290.gba653c62da-goog