Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.18 16 lines 235 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3#include "vmlinux.h" 4#include <bpf/bpf_helpers.h> 5#include <bpf/usdt.bpf.h> 6 7char _license[] SEC("license") = "GPL"; 8 9int count; 10 11SEC("usdt") 12int usdt0(struct pt_regs *ctx) 13{ 14 count++; 15 return 0; 16}