1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2021 Google LLC. */
5 #include <bpf/bpf_helpers.h>
7 /* The format string is filled from the userspace such that loading fails */
10 SEC("raw_tp/sys_enter")
11 int handler(const void *ctx)
13 unsigned long long arg = 42;
15 bpf_snprintf(NULL, 0, fmt, &arg, sizeof(arg));
20 char _license[] SEC("license") = "GPL";