#ifndef SRC_TRACE_PROCESSOR_IMPORTERS_PERF_PERF_EVENT_H_ #define SRC_TRACE_PROCESSOR_IMPORTERS_PERF_PERF_EVENT_H_ #include <cstdint> // Renaming the user space API types to fixed integer typedefs of C++. enum perf_type_id { … }; /* * Hardware event_id to monitor via a performance monitoring event: * * @sample_max_stack: Max number of frame pointers in a callchain, * should be < /proc/sys/kernel/perf_event_max_stack */ struct perf_event_attr { … }; struct perf_event_header { … }; enum perf_event_type { … }; enum perf_event_sample_format { … }; constexpr auto kPerfRecordMiscCpumodeMask = …; enum perf_record_misc { … }; enum perf_event_read_format { … }; enum perf_callchain_context : uint64_t { … }; #endif // SRC_TRACE_PROCESSOR_IMPORTERS_PERF_PERF_EVENT_H_