summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-03-06 09:30:21 -0800
committerAndrii Nakryiko <andrii@kernel.org>2023-03-06 09:38:08 -0800
commit8f4c92f0024ff2a30f002e85f87e531d49dc023c (patch)
treeeefa1e4ee7a49976b875da1efd3a2fc422366cc1 /arch/mips
parentfd4cb29f2a3d54ec7b4e012300321601af10bd68 (diff)
parentc7aec81b31e43a0aa94ee55d9bb33d70b1046f76 (diff)
downloadlinux-stable-8f4c92f0024ff2a30f002e85f87e531d49dc023c.tar.gz
linux-stable-8f4c92f0024ff2a30f002e85f87e531d49dc023c.tar.bz2
linux-stable-8f4c92f0024ff2a30f002e85f87e531d49dc023c.zip
Merge branch 'libbpf: allow users to set kprobe/uprobe attach mode'
Menglong Dong says: ==================== From: Menglong Dong <imagedong@tencent.com> By default, libbpf will attach the kprobe/uprobe BPF program in the latest mode that supported by kernel. In this series, we add the support to let users manually attach kprobe/uprobe in legacy/perf/link mode in the 1th patch. And in the 2th patch, we split the testing 'attach_probe' into multi subtests, as Andrii suggested. In the 3th patch, we add the testings for loading kprobe/uprobe in different mode. Changes since v3: - rename eBPF to BPF in the doc - use OPTS_GET() to get the value of 'force_ioctl_attach' - error out on attach mode is not supported - use test_attach_probe_manual__open_and_load() directly Changes since v2: - fix the typo in the 2th patch Changes since v1: - some small changes in the 1th patch, as Andrii suggested - split 'attach_probe' into multi subtests ==================== Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions