Searched hist:b179d48b6aab21f3999f5006685ea4254c0618a9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/trace/ |
H A D | trace_osnoise.c | diff b179d48b6aab21f3999f5006685ea4254c0618a9 Thu Nov 17 07:46:18 CST 2022 Daniel Bristot de Oliveira <bristot@kernel.org> tracing/osnoise: Add osnoise/options file
Add the tracing/osnoise/options file to control osnoise/timerlat tracer features. It is a single file to contain multiple features, similar to the sched/features file.
Reading the file displays a list of options. Writing the OPTION_NAME enables it, writing NO_OPTION_NAME disables it.
The DEAFULTS is a particular option that resets the options to the default ones.
It uses a bitmask to keep track of the status of the option. When needed, we can add a list of static keys, but for now it does not justify the memory increase.
Link: https://lkml.kernel.org/r/f8d34aefdb225d2603fcb4c02a120832a0cd3339.1668692096.git.bristot@kernel.org
Cc: Daniel Bristot de Oliveira <bristot@kernel.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
|