diff options
| author | Martin KaFai Lau <kafai@fb.com> | 2022-08-17 09:17:58 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-19 03:06:13 +0300 |
| commit | ebf9e8e653667e834372e9435217a7bf33bec7a0 (patch) | |
| tree | b951efbf49bca89da732b97ab6c30a0db405f178 /tools/perf/scripts/python/flamegraph.py | |
| parent | 2b5a2ecbfdc507af3f2f032bfe7366fba4dabff0 (diff) | |
| download | linux-ebf9e8e653667e834372e9435217a7bf33bec7a0.tar.xz | |
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 <sdf@google.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/r/20220817061758.4178374-1-kafai@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
