diff options
author | Vishal Chourasia <vishalc@linux.ibm.com> | 2024-10-02 10:08:06 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-10-02 19:53:12 +0300 |
commit | fcbc423577ce28b5e470a2a47fed6724430cccdb (patch) | |
tree | 03324ea3ed25982f865116866b98598205bad045 /tools/perf/scripts/python/task-analyzer.py | |
parent | 95b873693a0841e02b812e693296a884362fdd51 (diff) | |
download | linux-fcbc423577ce28b5e470a2a47fed6724430cccdb.tar.xz |
sched_ext: Add __weak markers to BPF helper function decalarations
Fix build errors by adding __weak markers to BPF helper function
declarations in header files. This resolves static assertion failures
in scx_qmap.bpf.c and scx_flatcg.bpf.c where functions like
scx_bpf_dispatch_from_dsq_set_slice, scx_bpf_dispatch_from_dsq_set_vtime,
and scx_bpf_task_cgroup were missing the __weak attribute.
[1] https://lore.kernel.org/all/ZvvfUqRNM4-jYQzH@linux.ibm.com
Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions