btrfs: use file:line format for assertion report
[linux/fpc-iii.git] / samples / bpf / task_fd_query_kern.c
blobfb56fc2a3e5d6b40d7f7e4895dff463fc673e549
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/version.h>
3 #include <linux/ptrace.h>
4 #include <uapi/linux/bpf.h>
5 #include "bpf_helpers.h"
7 SEC("kprobe/blk_mq_start_request")
8 int bpf_prog1(struct pt_regs *ctx)
10 return 0;
13 SEC("kretprobe/blk_account_io_completion")
14 int bpf_prog2(struct pt_regs *ctx)
16 return 0;
18 char _license[] SEC("license") = "GPL";
19 u32 _version SEC("version") = LINUX_VERSION_CODE;