/* The trace subsystem name for ice will be "ice". * * This file is named ice_trace.h. * * Since this include file's name is different from the trace * subsystem name, we'll have to define TRACE_INCLUDE_FILE at the end * of this file.
*/ #undef TRACE_SYSTEM #define TRACE_SYSTEM ice
/* See trace-events-sample.h for a detailed description of why this * guard clause is different from most normal include files.
*/ #if !defined(_ICE_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ) #define _ICE_TRACE_H_
/* ice_trace() macro enables shared code to refer to trace points * like: * * trace_ice_example(args...) * * ... as: * * ice_trace(example, args...) * * ... to resolve to the PF version of the tracepoint without * ifdefs, and to allow tracepoints to be disabled entirely at build * time. * * Trace point should always be referred to in the driver via this * macro. * * Similarly, ice_trace_enabled(trace_name) wraps references to * trace_ice_<trace_name>_enabled() functions. * @trace_name: name of tracepoint
*/ #define _ICE_TRACE_NAME(trace_name) (trace_##ice##_##trace_name) #define ICE_TRACE_NAME(trace_name) _ICE_TRACE_NAME(trace_name)
/* This is for events common to PF. Corresponding versions will be named * trace_ice_*. The ice_trace() macro above will select the right trace point * name for the driver.
*/
/* Begin tracepoints */
/* Global tracepoints */
/* Events related to DIM, q_vectors and ring containers */
DECLARE_EVENT_CLASS(ice_rx_dim_template,
TP_PROTO(struct ice_q_vector *q_vector, struct dim *dim),
TP_ARGS(q_vector, dim),
TP_STRUCT__entry(__field(struct ice_q_vector *, q_vector)
__field(struct dim *, dim)
__string(devname, q_vector->rx.rx_ring->netdev->name)),
/* Events related to a vsi & ring */
DECLARE_EVENT_CLASS(ice_tx_template,
TP_PROTO(struct ice_tx_ring *ring, struct ice_tx_desc *desc, struct ice_tx_buf *buf),
#endif/* _ICE_TRACE_H_ */ /* This must be outside ifdef _ICE_TRACE_H */
/* This trace include file is not located in the .../include/trace * with the kernel tracepoint definitions, because we're a loadable * module.
*/ #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH . #undef TRACE_INCLUDE_FILE #define TRACE_INCLUDE_FILE ../../drivers/net/ethernet/intel/ice/ice_trace #include <trace/define_trace.h>
Messung V0.5
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.