aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/trace/trace_stack.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-03-29 14:55:49 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-03-31 18:00:36 -0400
commitc20489dad156dd9919ebd854bbace46dbd2576a3 (patch)
tree40e4de91b732a352d9bd55617e63b14b286992cc /kernel/trace/trace_stack.c
parentftrace: Clean up __seq_open_private() return check (diff)
downloadwireguard-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