summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-10-26 01:11:14 +0300
committerTejun Heo <tj@kernel.org>2024-10-26 01:19:44 +0300
commit7724abf0ca77460cb06ac3d5e4352a5c2289c3ae (patch)
treee879a8d2b6e5fc113e176f65001d709d2a594e9e /tools/perf/scripts/python/exported-sql-viewer.py
parent0e7ffff1b8117b05635c87d3c9099f6aa9c9b689 (diff)
downloadlinux-7724abf0ca77460cb06ac3d5e4352a5c2289c3ae.tar.xz
sched_ext: Make cast_mask() inline
cast_mask() doesn't do any actual work and is defined in a header file. Force it to be inline. When it is not inlined and the function is not used, it can cause verificaiton failures like the following: # tools/testing/selftests/sched_ext/runner -t minimal ===== START ===== TEST: minimal DESCRIPTION: Verify we can load a fully minimal scheduler OUTPUT: libbpf: prog 'cast_mask': missing BPF prog type, check ELF section name '.text' libbpf: prog 'cast_mask': failed to load: -22 libbpf: failed to load object 'minimal' libbpf: failed to load BPF skeleton 'minimal': -22 ERR: minimal.c:20 Failed to open and load skel not ok 1 minimal # ===== END ===== Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: a748db0c8c6a ("tools/sched_ext: Receive misc updates from SCX repo")
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions