diff options
| author | 2022-06-02 22:06:13 +0800 | |
|---|---|---|
| committer | 2022-06-17 18:42:17 -0400 | |
| commit | f4b0d318097e45cbac5e14976f8bb56aa2cef504 (patch) | |
| tree | 6d760c482cb132c2f76c0511506a8fde07921a3f /scripts/gdb/linux/utils.py | |
| parent | tracing/kprobes: Check whether get_kretprobe() returns NULL in kretprobe_dispatcher() (diff) | |
| download | linux-rng-f4b0d318097e45cbac5e14976f8bb56aa2cef504.tar.xz linux-rng-f4b0d318097e45cbac5e14976f8bb56aa2cef504.zip | |
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/20220602140613.545069-1-sunliming@kylinos.cn
Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
