summaryrefslogtreecommitdiffstats
path: root/samples/bpf/tracex3_kern.c
diff options
context:
space:
mode:
authorRong Tao <rongtao@cestc.cn>2022-09-11 15:03:30 +0200
committerAndrii Nakryiko <andrii@kernel.org>2022-09-21 02:25:59 +0200
commitbc069da65eec7b5113b40432930152c9c1cd7f88 (patch)
treeb29b12d74e9efd8ad257137d0c0bafed2b6c1bd7 /samples/bpf/tracex3_kern.c
parentMerge branch 'bpf: Small nf_conn cleanups' (diff)
downloadlinux-bc069da65eec7b5113b40432930152c9c1cd7f88.tar.xz
linux-bc069da65eec7b5113b40432930152c9c1cd7f88.zip
samples/bpf: Replace blk_account_io_done() with __blk_account_io_done()
Since commit be6bfe36db17 ("block: inline hot paths of blk_account_io_*()") blk_account_io_*() become inline functions. Signed-off-by: Rong Tao <rtoax@foxmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/tencent_1CC476835C219FACD84B6715F0D785517E07@qq.com
Diffstat (limited to 'samples/bpf/tracex3_kern.c')
-rw-r--r--samples/bpf/tracex3_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/tracex3_kern.c b/samples/bpf/tracex3_kern.c
index 710a4410b2fb..bde6591cb20c 100644
--- a/samples/bpf/tracex3_kern.c
+++ b/samples/bpf/tracex3_kern.c
@@ -49,7 +49,7 @@ struct {
__uint(max_entries, SLOTS);
} lat_map SEC(".maps");
-SEC("kprobe/blk_account_io_done")
+SEC("kprobe/__blk_account_io_done")
int bpf_prog2(struct pt_regs *ctx)
{
long rq = PT_REGS_PARM1(ctx);