aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2018-07-26 12:07:32 -0400
committerSteven Rostedt (VMware) <[email protected]>2018-07-27 09:36:20 -0400
commit87107a25a2f857693156f075da6e2a1438f4b4a0 (patch)
treecd873d9dd4fd322f7b1eec85fc8cc97d2b83e6b5 /tools/perf/scripts/python/export-to-postgresql.py
parent72809cbf6748830ae4a59a45bcb2367a6c24d74d (diff)
tracing/kprobes: Simplify the logic of enable_trace_kprobe()
The function enable_trace_kprobe() performs slightly differently if the file parameter is passed in as NULL on non-NULL. Instead of checking file twice, move the code between the two tests into a static inline helper function to make the code easier to follow. Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Reviewed-by: Josh Poimboeuf <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions