1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2020 Facebook
6 #include <linux/types.h>
7 #include <bpf/bpf_helpers.h>
9 char _license[] SEC("license") = "GPL";
13 SEC("raw_tracepoint/sys_enter")
14 int test_enable_stats(void *ctx)
16 __sync_fetch_and_add(&count, 1);