aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-09-01 17:29:06 -0700
committerAlexei Starovoitov <[email protected]>2022-09-02 20:34:31 -0700
commitc2b063ca34586758dcfd76e12696a71a1df849a0 (patch)
treef5d8b0d4ae8214f00d5d8faaae2197b5401660ec /tools/perf/scripts/python/check-perf-trace.py
parent0f95f7d42611882a9a6250923dd493951a94961a (diff)
bpf: Embed kernel CONFIG check into the if statement in bpf_getsockopt
This patch moves the "#ifdef CONFIG_XXX" check into the "if/else" statement itself. The change is done for the bpf_getsockopt() function only. It will make the latter patches easier to follow without the surrounding ifdef macro. Signed-off-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions