1ecb96f7fSYonghong Song // SPDX-License-Identifier: GPL-2.0 2ecb96f7fSYonghong Song #include <linux/version.h> 3ecb96f7fSYonghong Song #include <linux/ptrace.h> 4ecb96f7fSYonghong Song #include <uapi/linux/bpf.h> 57cf245a3SToke Høiland-Jørgensen #include <bpf/bpf_helpers.h> 6ecb96f7fSYonghong Song 7d2e614cbSDaniel T. Lee SEC("kprobe/blk_mq_start_request") 8ecb96f7fSYonghong Song int bpf_prog1(struct pt_regs *ctx) 9ecb96f7fSYonghong Song { 10ecb96f7fSYonghong Song return 0; 11ecb96f7fSYonghong Song } 12ecb96f7fSYonghong Song 13*bc069da6SRong Tao SEC("kretprobe/__blk_account_io_done") 14ecb96f7fSYonghong Song int bpf_prog2(struct pt_regs *ctx) 15ecb96f7fSYonghong Song { 16ecb96f7fSYonghong Song return 0; 17ecb96f7fSYonghong Song } 18ecb96f7fSYonghong Song char _license[] SEC("license") = "GPL"; 19ecb96f7fSYonghong Song u32 _version SEC("version") = LINUX_VERSION_CODE; 20