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

From: Daniel Bristot de Oliveira
Date: Fri Dec 09 2022 - 17:07:02 EST


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 V4:
- rename preempt_disable/irq_disable variables to
disable_preemption/disable_irq (Steven Rostedt)
Changes from V3:
- Fix documentation (Bagas Sanjaya)
- Optmize the preempt disable option (Steven Rostedt)
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 | 52 +++++++++++++++++++++++---
2 files changed, 65 insertions(+), 7 deletions(-)

--
2.32.0