Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / perf / util / hisi-ptt.h
blob2db9b405621483dc6faebbbb49643049e3f33e60
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * HiSilicon PCIe Trace and Tuning (PTT) support
4 * Copyright (c) 2022 HiSilicon Technologies Co., Ltd.
5 */
7 #ifndef INCLUDE__PERF_HISI_PTT_H__
8 #define INCLUDE__PERF_HISI_PTT_H__
10 #define HISI_PTT_PMU_NAME "hisi_ptt"
11 #define HISI_PTT_AUXTRACE_PRIV_SIZE sizeof(u64)
13 struct auxtrace_record *hisi_ptt_recording_init(int *err,
14 struct perf_pmu *hisi_ptt_pmu);
16 int hisi_ptt_process_auxtrace_info(union perf_event *event,
17 struct perf_session *session);
19 #endif