Skip to content

Commit 2bb739d

Browse files
authored
DLPX-78888 [Backport of DLPX-78812 to 6.0.12] Disk IO analytics collector not running on aws (#75)
1 parent 3d0e3f2 commit 2bb739d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bpf/estat/backend-io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ disk_io_start(struct pt_regs *ctx, struct request *reqp)
4444
return (0);
4545
}
4646

47-
// @@ kprobe|blk_account_io_completion|disk_io_done
47+
// @@ kprobe|blk_account_io_done|disk_io_done
4848
int
4949
disk_io_done(struct pt_regs *ctx, struct request *reqp)
5050
{

bpf/stbtrace/io.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ b = BPF(text=bpf_text)
128128
if BPF.get_kprobe_functions(b'blk_start_request'):
129129
b.attach_kprobe(event="blk_start_request", fn_name="disk_io_start")
130130
b.attach_kprobe(event="blk_mq_start_request", fn_name="disk_io_start")
131-
b.attach_kprobe(event="blk_account_io_completion", fn_name="disk_io_done")
131+
b.attach_kprobe(event="blk_account_io_done", fn_name="disk_io_done")
132132

133133

134134
helper = BCCHelper(b, BCCHelper.ANALYTICS_PRINT_MODE)

0 commit comments

Comments
 (0)