[PATCH V3 0/3] Add osnoise/options options

From: Daniel Bristot de Oliveira
Date: Fri Nov 25 2022 - 16:20:48 EST


Was: Allow osnoise tracer to run without workload [1]

After adding the osnoise/options file, a set of on/off options
came to my mind, most based on discussions while debugging problems
with Juri and Clark.

The PANIC_ON_STOP option facilitates the vmcore generation to aid
in the latency analysis using a crash dump.

The OSNOISE_PREEMPT_DISABLE and OSNOISE_IRQ_DISABLE options refine
the type of noise that the osnoise tracer detects, allowing the
tool to measure only IRQ-related noise, or NMI/HW-related noise,
respectively.

Each patch has a description of the options and the last patch
documents them in the osnoise documentation file.

[1] https://lore.kernel.org/r/cover.1668692096.git.bristot@xxxxxxxxxx/

Changes from v2:
- rebased on top of linux-trace.git/ftrace/core
- removed the patches already added to the ftrace/core
Changes from v1:
- Changed the cover letter topic
- Add Acked-by Masami to the first patch
- Add the PANIC_ON_STOP option
- Add the OSNOISE_PREEMPT_DISABLE and OSNOISE_IRQ_DISABLE options
- Improved the documentation

Daniel Bristot de Oliveira (3):
tracing/osnoise: Add PANIC_ON_STOP option
tracing/osnoise: Add preempt and/or irq disabled options
Documentation/osnoise: Add osnoise/options documentation

Documentation/trace/osnoise-tracer.rst | 20 ++++++++++--
kernel/trace/trace_osnoise.c | 44 +++++++++++++++++++++++---
2 files changed, 57 insertions(+), 7 deletions(-)

--
2.32.0