Skip to content

tracing: fully-qualified var-ref testcase

Tom Zanussi linux-trace-kernel 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/2tracing: Fix fully-qualified variable reference printing in histogramskernel/trace/trace_events_hist.c+10 -50 replies
2/2selftests/ftrace: Add test case for fully-qualified variable referencestools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-fully-qualified-var-ref.tc+34 -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/2] tracing: fully-qualified var-ref testcase

Hi Steve,

Here's the testcase for fully-qualified var references mentioned here [1].

While working on it, I realized that the printing of the fully-qualified references was wrong (because the testcases use that output to remove the trigger), so added the first patch.

It depends on Pengpeng Hou's patch:

[PATCH v2 1/2] tracing/hist: rebuild full_name on each hist_field_name() call

Thanks,

Tom

[1] https://lore.kernel.org/lkml/[email protected]/

Tom Zanussi (2):
tracing: Fix fully-qualified variable reference printing in histograms selftests/ftrace: Add test case for fully-qualified variable
references

 kernel/trace/trace_events_hist.c              | 15 +++++---
 .../trigger-fully-qualified-var-ref.tc        | 34 +++++++++++++++++++
 2 files changed, 44 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-fully-qualified-var-ref.tc
Signature · 1 line
2.43.0