Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.15-rc1 35 lines 715 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * intel_tpebs.h: Intel TEPBS support 4 */ 5#ifndef INCLUDE__PERF_INTEL_TPEBS_H__ 6#define INCLUDE__PERF_INTEL_TPEBS_H__ 7 8#include "stat.h" 9#include "evsel.h" 10 11#ifdef HAVE_ARCH_X86_64_SUPPORT 12 13extern bool tpebs_recording; 14int tpebs_start(struct evlist *evsel_list); 15void tpebs_delete(void); 16int tpebs_set_evsel(struct evsel *evsel, int cpu_map_idx, int thread); 17 18#else 19 20static inline int tpebs_start(struct evlist *evsel_list __maybe_unused) 21{ 22 return 0; 23} 24 25static inline void tpebs_delete(void) {}; 26 27static inline int tpebs_set_evsel(struct evsel *evsel __maybe_unused, 28 int cpu_map_idx __maybe_unused, 29 int thread __maybe_unused) 30{ 31 return 0; 32} 33 34#endif 35#endif