projects
/
platform
/
kernel
/
linux-rpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
selftests/bpf: Fix erroneous bitmask operation
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
uprobe_multi_usdt.c
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
7
char _license[] SEC("license") = "GPL";
8
9
int count;
10
11
SEC("usdt")
12
int usdt0(struct pt_regs *ctx)
13
{
14
count++;
15
return 0;
16
}