21 lines · c
1// SPDX-License-Identifier: GPL-2.02// Copyright (c) 2017 Facebook3 4#include "vmlinux.h"5#include <bpf/bpf_helpers.h>6#include <bpf/bpf_tracing.h>7#include <bpf/bpf_core_read.h>8#include "bpf_misc.h"9 10struct whatever {};11 12SEC("kprobe")13__success __log_level(2)14/* context type is wrong, making it impossible to freplace this program */15int btf_unreliable_kprobe(struct whatever *ctx)16{17 return 0;18}19 20char _license[] SEC("license") = "GPL";21