diff options
author | Rong Tao | 2022-09-11 21:03:30 +0800 |
---|---|---|
committer | Andrii Nakryiko | 2022-09-20 17:25:59 -0700 |
commit | bc069da65eec7b5113b40432930152c9c1cd7f88 (patch) | |
tree | b29b12d74e9efd8ad257137d0c0bafed2b6c1bd7 /samples/bpf/task_fd_query_kern.c | |
parent | bfa8fe95ffe8d62576cf47bf58df5c9da9214723 (diff) |
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/task_fd_query_kern.c')
-rw-r--r-- | samples/bpf/task_fd_query_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/task_fd_query_kern.c b/samples/bpf/task_fd_query_kern.c index c821294e1774..186ac0a79c0a 100644 --- a/samples/bpf/task_fd_query_kern.c +++ b/samples/bpf/task_fd_query_kern.c @@ -10,7 +10,7 @@ int bpf_prog1(struct pt_regs *ctx) return 0; } -SEC("kretprobe/blk_account_io_done") +SEC("kretprobe/__blk_account_io_done") int bpf_prog2(struct pt_regs *ctx) { return 0; |