Sign in
android-kvm
/
linux
/
00164f477f065a0faaed7f2ca8f1c724c99b6fe1
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
uprobe_multi_usdt.c
blob: 9e1c33d0bd2ffd1b0ec312388a31e5856fabe2cc [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0
#include
"vmlinux.h"
#include
<bpf/bpf_helpers.h>
#include
<
bpf
/
usdt
.
bpf
.
h
>
char
_license
[]
SEC
(
"license"
)
=
"GPL"
;
int
count
;
SEC
(
"usdt"
)
int
usdt0
(
struct
pt_regs
*
ctx
)
{
count
++;
return
0
;
}