Skip to content

DLPX-78812 Disk IO analytics collector not running on aws #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bpf/estat/backend-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ disk_io_start(struct pt_regs *ctx, struct request *reqp)
return (0);
}

// @@ kprobe|blk_account_io_completion|disk_io_done
// @@ kprobe|blk_account_io_done|disk_io_done
int
disk_io_done(struct pt_regs *ctx, struct request *reqp)
{
Expand Down
2 changes: 1 addition & 1 deletion bpf/stbtrace/io.st
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ b = BPF(text=bpf_text)
if BPF.get_kprobe_functions(b'blk_start_request'):
b.attach_kprobe(event="blk_start_request", fn_name="disk_io_start")
b.attach_kprobe(event="blk_mq_start_request", fn_name="disk_io_start")
b.attach_kprobe(event="blk_account_io_completion", fn_name="disk_io_done")
b.attach_kprobe(event="blk_account_io_done", fn_name="disk_io_done")


helper = BCCHelper(b, BCCHelper.ANALYTICS_PRINT_MODE)
Expand Down