aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-08-16 23:17:58 -0700
committerAlexei Starovoitov <[email protected]>2022-08-18 17:06:13 -0700
commitebf9e8e653667e834372e9435217a7bf33bec7a0 (patch)
treeb951efbf49bca89da732b97ab6c30a0db405f178 /tools/perf/scripts/python
parent2b5a2ecbfdc507af3f2f032bfe7366fba4dabff0 (diff)
bpf: Embed kernel CONFIG check into the if statement in bpf_setsockopt
This patch moves the "#ifdef CONFIG_XXX" check into the "if/else" statement itself. The change is done for the bpf_setsockopt() function only. It will make the latter patches easier to follow without the surrounding ifdef macro. Reviewed-by: Stanislav Fomichev <[email protected]> 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')
0 files changed, 0 insertions, 0 deletions