diff options
author | 2022-08-29 10:10:48 -0700 | |
---|---|---|
committer | 2022-09-06 22:26:00 -0400 | |
commit | 54be5509422ebee333709c92441aa7185ca182fa (patch) | |
tree | ec5b01590969f3c0d2db1012b51bda69884eeb9d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | MAINTAINERS: add scripts/tracing/ to TRACING (diff) | |
download | linux-dev-54be5509422ebee333709c92441aa7185ca182fa.tar.xz linux-dev-54be5509422ebee333709c92441aa7185ca182fa.zip |
tracepoint: Allow trace events in modules with TAINT_TEST
Commit 2852ca7fba9f ("panic: Taint kernel if tests are run")
introduced a new taint type, TAINT_TEST, to signal that an
in-kernel test module has been loaded.
TAINT_TEST taint type defaults into a 'bad_taint' list for
kernel tracing and blocks the creation of trace events. This
causes a problem for CXL testing where loading the cxl_test
module makes all CXL modules out-of-tree, blocking any trace
events.
Trace events are in development for CXL at the moment and this
issue was found in test with v6.0-rc1.
Link: https://lkml.kernel.org/r/20220829171048.263065-1-alison.schofield@intel.com
Fixes: 2852ca7fba9f7 ("panic: Taint kernel if tests are run")
Reported-by: Ira Weiny <ira.weiny@intel.com>
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions