mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
ff0de066b4
HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex integrated Endpoint(RCiEP) device, providing the capability to dynamically monitor and tune the PCIe traffic and trace the TLP headers. Add the driver for the device to enable the trace function. Register PMU device of PTT trace, then users can use trace through perf command. The driver makes use of perf AUX trace function and support the following events to configure the trace: - filter: select Root port or Endpoint to trace - type: select the type of traced TLP headers - direction: select the direction of traced TLP headers - format: select the data format of the traced TLP headers This patch initially add basic trace support of PTT device. Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Link: https://lore.kernel.org/r/20220816114414.4092-3-yangyicong@huawei.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
11 lines
200 B
Plaintext
11 lines
200 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "HW tracing support"
|
|
|
|
source "drivers/hwtracing/stm/Kconfig"
|
|
|
|
source "drivers/hwtracing/intel_th/Kconfig"
|
|
|
|
source "drivers/hwtracing/ptt/Kconfig"
|
|
|
|
endmenu
|