diff options
| author | Rong Tao <[email protected]> | 2022-09-11 13:03:30 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-09-21 00:25:59 +0000 |
| commit | bc069da65eec7b5113b40432930152c9c1cd7f88 (patch) | |
| tree | b29b12d74e9efd8ad257137d0c0bafed2b6c1bd7 /samples/bpf/task_fd_query_user.c | |
| parent | Merge branch 'bpf: Small nf_conn cleanups' (diff) | |
| download | kernel-bc069da65eec7b5113b40432930152c9c1cd7f88.tar.gz kernel-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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'samples/bpf/task_fd_query_user.c')
| -rw-r--r-- | samples/bpf/task_fd_query_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/task_fd_query_user.c b/samples/bpf/task_fd_query_user.c index 424718c0872c..a33d74bd3a4b 100644 --- a/samples/bpf/task_fd_query_user.c +++ b/samples/bpf/task_fd_query_user.c @@ -348,7 +348,7 @@ int main(int argc, char **argv) /* test two functions in the corresponding *_kern.c file */ CHECK_AND_RET(test_debug_fs_kprobe(0, "blk_mq_start_request", BPF_FD_TYPE_KPROBE)); - CHECK_AND_RET(test_debug_fs_kprobe(1, "blk_account_io_done", + CHECK_AND_RET(test_debug_fs_kprobe(1, "__blk_account_io_done", BPF_FD_TYPE_KRETPROBE)); /* test nondebug fs kprobe */ |
