kernel_samsung_a53x/include/trace/hooks/pci.h

23 lines
701 B
C
Raw Normal View History

2024-06-15 21:02:09 +02:00
/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM pci
#define TRACE_INCLUDE_PATH trace/hooks
#if !defined(_TRACE_HOOK_PCI_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_HOOK_PCI_H
#include <linux/tracepoint.h>
#include <trace/hooks/vendor_hooks.h>
/*
* Following tracepoints are not exported in tracefs and provide a
* mechanism for vendor modules to hook and extend functionality
*/
DECLARE_RESTRICTED_HOOK(android_rvh_pci_d3_sleep,
TP_PROTO(struct pci_dev *dev, unsigned int delay, int *err),
TP_ARGS(dev, delay, err), 1);
#endif /* _TRACE_HOOK_PCI_H */
/* This part must be outside protection */
#include <trace/define_trace.h>