diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-04-20 14:38:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-04-20 14:38:35 -0700 |
commit | 1fe5501ba1abf2b7e78295df73675423bd6899a0 (patch) | |
tree | ade207f81b2d916f131e636b114cf37b27b08f94 /kernel/uid16.h | |
parent | db2e718a47984b9d71ed890eb2ea36ecf150de18 (diff) | |
parent | 0e1e71d34901a633825cd5ae78efaf8abd9215c6 (diff) | |
download | linux-1fe5501ba1abf2b7e78295df73675423bd6899a0.tar.bz2 |
Merge tag 'trace-v5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing fix from Steven Rostedt:
"Fix tp_printk command line and trace events
Masami added a wrapper to be able to unhash trace event pointers as
they are only read by root anyway, and they can also be extracted by
the raw trace data buffers. But this wrapper utilized the iterator to
have a temporary buffer to manipulate the text with.
tp_printk is a kernel command line option that will send the trace
output of a trace event to the console on boot up (useful when the
system crashes before finishing the boot). But the code used the same
wrapper that Masami added, and its iterator did not have a buffer, and
this caused the system to crash.
Have the wrapper just print the trace event normally if the iterator
has no temporary buffer"
* tag 'trace-v5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Fix checking event hash pointer logic when tp_printk is enabled
Diffstat (limited to 'kernel/uid16.h')
0 files changed, 0 insertions, 0 deletions