summaryrefslogtreecommitdiff
path: root/include/linux/arm-smccc.h
diff options
context:
space:
mode:
authorDaniel T. Lee <danieltimlee@gmail.com>2023-08-18 12:01:16 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-08-22 01:39:09 +0300
commit92632115fb57ff9e368f256913e96d6fd5abf5ab (patch)
tree5c0236b79e35545f369842612974e461494f8e45 /include/linux/arm-smccc.h
parent11430421b440427e10dfb4bd2bdc418fab0ff166 (diff)
downloadlinux-92632115fb57ff9e368f256913e96d6fd5abf5ab.tar.xz
samples/bpf: fix bio latency check with tracepoint
Recently, a new tracepoint for the block layer, specifically the block_io_start/done tracepoints, was introduced in commit 5a80bd075f3b ("block: introduce block_io_start/block_io_done tracepoints"). Previously, the kprobe entry used for this purpose was quite unstable and inherently broke relevant probes [1]. Now that a stable tracepoint is available, this commit replaces the bio latency check with it. One of the changes made during this replacement is the key used for the hash table. Since 'struct request' cannot be used as a hash key, the approach taken follows that which was implemented in bcc/biolatency [2]. (uses dev:sector for the key) [1]: https://github.com/iovisor/bcc/issues/4261 [2]: https://github.com/iovisor/bcc/pull/4691 Fixes: 450b7879e345 ("block: move blk_account_io_{start,done} to blk-mq.c") Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com> Link: https://lore.kernel.org/r/20230818090119.477441-7-danieltimlee@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/arm-smccc.h')
0 files changed, 0 insertions, 0 deletions