Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.5.6.
 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 */
 6
 7#ifndef INCLUDE__PERF_HISI_PTT_H__
 8#define INCLUDE__PERF_HISI_PTT_H__
 9
10#define HISI_PTT_PMU_NAME		"hisi_ptt"
11#define HISI_PTT_AUXTRACE_PRIV_SIZE	sizeof(u64)
12
13struct auxtrace_record *hisi_ptt_recording_init(int *err,
14						struct perf_pmu *hisi_ptt_pmu);
15
16int hisi_ptt_process_auxtrace_info(union perf_event *event,
17				   struct perf_session *session);
18
19#endif