#!/bin/sh
#
# stackcollapse.py can cover all type of perf samples including
# the tracepoints, so no special record requirements, just record what
# you want to analyze.
#
perf record "$@"
' href='https://universe.0xinfinity.dev/distro/kernel/'/>
2024-12-04T19:46:39Zselftests/sched_ext: fix build after renames in sched_ext API2024-12-04T19:46:39ZIhor Solodraiihor.solodrai@pm.me2024-11-21T21:40:17Zurn:sha1:ef7009decc30eb2515a64253791d61b72229c119
The selftests are falining to build on current tip of bpf-next and
sched_ext [1]. This has broken BPF CI [2] after merge from upstream.
Use appropriate function names in the selftests according to the
recent changes in the sched_ext API [3].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=fc39fb56917bb3cb53e99560ca3612a84456ada2
[2] https://github.com/kernel-patches/bpf/actions/runs/11959327258/job/33340923745
[3] https://lore.kernel.org/all/20241109194853.580310-1-tj@kernel.org/
Signed-off-by: Ihor Solodrai <ihor.solodrai@pm.me>
Acked-by: Andrea Righi <arighi@nvidia.com>
Acked-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
sched_ext: Fix function pointer type mismatches in BPF selftests2024-10-24T16:56:17ZVishal Chourasiavishalc@linux.ibm.com2024-10-24T05:16:09Zurn:sha1:4f7f417042b242c1e5a9ed03741acb5d900e0871
Fix incompatible function pointer type warnings in sched_ext BPF selftests by
explicitly casting the function pointers when initializing struct_ops.
This addresses multiple -Wincompatible-function-pointer-types warnings from the
clang compiler where function signatures didn't match exactly.
The void * cast ensures the compiler accepts the function pointer
assignment despite minor type differences in the parameters.
Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
sched_ext: Add selftests2024-06-18T20:09:21ZDavid Vernetdvernet@meta.com2024-06-18T20:09:21Zurn:sha1:a5db7817af780db6a7f290c79677eff4fd13c5fa
Add basic selftests.
Signed-off-by: David Vernet <dvernet@meta.com>
Acked-by: Tejun Heo <tj@kernel.org>