summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hisi-ptt.h
blob: 82283c81b4c1192a8c3036e0f39f8237554bfa85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * HiSilicon PCIe Trace and Tuning (PTT) support
 * Copyright (c) 2022 HiSilicon Technologies Co., Ltd.
 */

#ifndef INCLUDE__PERF_HISI_PTT_H__
#define INCLUDE__PERF_HISI_PTT_H__

#define HISI_PTT_PMU_NAME		"hisi_ptt"
#define HISI_PTT_AUXTRACE_PRIV_SIZE	sizeof(u64)

struct auxtrace_record *hisi_ptt_recording_init(int *err,
						struct perf_pmu *hisi_ptt_pmu);

#endif