/* The trace subsystem name for i40e will be "i40e". * *Thisfileisnamedi40e_trace.h. * *Sincethisincludefile'snameisdifferentfromthetrace *subsystemname,we'llhavetodefineTRACE_INCLUDE_FILEattheend *ofthisfile.
*/ #undef TRACE_SYSTEM #define TRACE_SYSTEM i40e
/* See trace-events-sample.h for a detailed description of why this *guardclauseisdifferentfrommostnormalincludefiles.
*/ #if !defined(_I40E_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ) #define _I40E_TRACE_H_
/* Events common to PF and VF. Corresponding versions will be defined *forboth,namedtrace_i40e_*andtrace_i40evf_*.Thei40e_trace() *macroabovewillselecttherighttracepointnameforthedriver *beingbuiltfromsharedcode.
*/
#define NO_DEV "(i40e no_device)"
TRACE_EVENT(i40e_napi_poll,
TP_PROTO(struct napi_struct *napi, struct i40e_q_vector *q, int budget, int budget_per_ring, unsignedint rx_cleaned, unsignedint tx_cleaned, bool rx_clean_complete, bool tx_clean_complete),
TP_ARGS(napi, q, budget, budget_per_ring, rx_cleaned, tx_cleaned,
rx_clean_complete, tx_clean_complete),
/* The convention here is to make the first fields in the *TP_STRUCTmatchtheTP_PROTOexactly.Thisenablestheuse *oftheargsstructgeneratedbythetplisttool(fromthe *bcc-toolspackage)tobeusedforthosefields.Toaccess *fieldsotherthanthetracepointargswillrequirethe *tplistoutputtobeadjusted.
*/
TP_STRUCT__entry(
__field(void*, ring)
__field(void*, desc)
__field(void*, buf)
__string(devname, ring->netdev->name)
),
#endif/* _I40E_TRACE_H_ */ /* This must be outside ifdef _I40E_TRACE_H */
/* This trace include file is not located in the .../include/trace *withthekerneltracepointdefinitions,becausewe'realoadable *module.
*/ #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH . #undef TRACE_INCLUDE_FILE #define TRACE_INCLUDE_FILE i40e_trace #include <trace/define_trace.h>
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.