• S
    e1000e: Add e1000e trace module · 7bab8828
    Sasha Neftin 提交于
    Add tracepoints to the driver via a new file e1000e_trace.h and some new
    trace calls added in interesting places in the driver. Add some tracing
    for s0ix flows to help in a debug of shared resources with the CSME
    firmware. The idea here is that tracepoints have such low performance cost
    when disabled that we can leave these in the upstream driver.
    
    Performance not affected, and this can be very useful for debugging and
    adding new trace events to paths in the future.
    
    Usage:
    echo "e1000e_trace:*" > /sys/kernel/debug/tracing/set_event
    echo 1 > /sys/kernel/debug/tracing/events/e1000e_trace/enable
    Signed-off-by: NSasha Neftin <sasha.neftin@intel.com>
    Tested-by: NNaama Meir <naamax.meir@linux.intel.com>
    Signed-off-by: NTony Nguyen <anthony.l.nguyen@intel.com>
    7bab8828
netdev.c 225.2 KB