Re: [PATCH linux-next] net: record times of netdev_budget exhausted
From: yang.yang29
Date: Wed Dec 07 2022 - 07:30:19 EST
> Presumably, modern tracing techniques can let you do what you want
> without adding new counters.
By the way, should we add a tracepoint likes trace_napi_poll() to make
it easier? Something likes:
if (unlikely(budget <= 0 ||
time_after_eq(jiffies, time_limit))) {
sd->time_squeeze++;
+ trace_napi_poll(budget, jiffies, time_limit);
break;
}