aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-08-27 21:30:42 +0200
committerAlexei Starovoitov <[email protected]>2018-08-27 20:37:05 -0700
commit3f6e138d41ddff196f452993528cfe75762ede0f (patch)
tree88865bff5748dab42ec22cbab9756418abcfc647 /tools/perf/scripts/python/call-graph-from-sql.py
parent15c480efab01197c965ce0562a43ffedd852b8f9 (diff)
bpf: fix build error with clang
Building the newly introduced BPF_PROG_TYPE_SK_REUSEPORT leads to a compile time error when building with clang: net/core/filter.o: In function `sk_reuseport_convert_ctx_access': ../net/core/filter.c:7284: undefined reference to `__compiletime_assert_7284' It seems that clang has issues resolving hweight_long at compile time. Since SK_FL_PROTO_MASK is a constant, we can use the interface for known constant arguments which works fine with clang. Fixes: 2dbb9b9e6df6 ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT") Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions