diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-26 07:12:09 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-26 07:12:09 +0300 |
commit | 5bb9871eb8daa2e6a07caf7aeafbe2d0b3faad8f (patch) | |
tree | c97ba6f5e26f1bfe6ba0d73c388b7914eb26c45c /security/selinux/hooks.c | |
parent | 73056bbc683f16672b948968a92fc3aa6aefbfbd (diff) | |
parent | d045437a169f899dfb0f6f7ede24cc042543ced9 (diff) | |
download | linux-5bb9871eb8daa2e6a07caf7aeafbe2d0b3faad8f.tar.xz |
Merge tag 'trace-fixes-v4.5-rc5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing fix from Steven Rostedt:
"Another small bug reported to me by Chunyu Hu.
When perf added a "reg" function to the function tracing event (not a
tracepoint), it caused that event to be displayed as a tracepoint and
could cause errors in tracepoint handling. That was solved by adding
a flag to ignore ftrace non-tracepoint events. But that flag was
missed when displaying events in available_events, which should only
contain tracepoint events.
This broke a documented way to enable all events with:
cat available_events > set_event
As the function non-tracepoint event would cause that to error out.
The commit here fixes that by having the available_events file not
list events that have the ignore flag set"
* tag 'trace-fixes-v4.5-rc5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Fix showing function event in available_events
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions