FILE
perf_version.h
File preview with syntax highlighting.
linux-6.19.14/tools/perf/util/bpf_skel/perf_version.h
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 3#ifndef __PERF_VERSION_H__ 4#define __PERF_VERSION_H__ 5 6#include "vmlinux.h" 7#include <bpf/bpf_helpers.h> 8 9/* 10 * This is used by tests/shell/record_bpf_metadata.sh 11 * to verify that BPF metadata generation works. 12 * 13 * PERF_VERSION is defined by a build rule at compile time. 14 */ 15const char bpf_metadata_perf_version[] SEC(".rodata") = PERF_VERSION; 16 17#endif /* __PERF_VERSION_H__ */
~/
Read-only file preview.