diff options
author | 2017-03-29 14:55:49 -0400 | |
---|---|---|
committer | 2017-03-31 18:00:36 -0400 | |
commit | c20489dad156dd9919ebd854bbace46dbd2576a3 (patch) | |
tree | 40e4de91b732a352d9bd55617e63b14b286992cc /kernel/trace/trace_stack.c | |
parent | ftrace: Clean up __seq_open_private() return check (diff) | |
download | wireguard-linux-c20489dad156dd9919ebd854bbace46dbd2576a3.tar.xz wireguard-linux-c20489dad156dd9919ebd854bbace46dbd2576a3.zip |
ftrace: Assign iter->hash to filter or notrace hashes on seq read
Instead of testing if the hash to use is the filter_hash or the notrace_hash
at each iteration, do the test at open, and set the iter->hash to point to
the corresponding filter or notrace hash. Then use that directly instead of
testing which hash needs to be used each iteration.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions