aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorsunliming <[email protected]>2022-06-02 22:06:13 +0800
committerSteven Rostedt (Google) <[email protected]>2022-06-17 18:42:17 -0400
commitf4b0d318097e45cbac5e14976f8bb56aa2cef504 (patch)
tree6d760c482cb132c2f76c0511506a8fde07921a3f /scripts/clang-tools/gen_compile_commands.py
parentcc72b72073ac982a954d3b43519ca1c28f03c27c (diff)
tracing: Simplify conditional compilation code in tracing_set_tracer()
Two conditional compilation directives "#ifdef CONFIG_TRACER_MAX_TRACE" are used consecutively, and no other code in between. Simplify conditional the compilation code and only use one "#ifdef CONFIG_TRACER_MAX_TRACE". Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: sunliming <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions