1
0
Fork 0
linux/tools/testing/selftests/bpf/progs/tracing_failure.c
Daniel Baumann 79d69e5050
Adding upstream version 6.12.33.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 12:14:28 +02:00

20 lines
427 B
C

// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2024 Meta Platforms, Inc. and affiliates. */
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>
char _license[] SEC("license") = "GPL";
SEC("?fentry/bpf_spin_lock")
int BPF_PROG(test_spin_lock, struct bpf_spin_lock *lock)
{
return 0;
}
SEC("?fentry/bpf_spin_unlock")
int BPF_PROG(test_spin_unlock, struct bpf_spin_lock *lock)
{
return 0;
}