Re: [ath5k-devel] [RFC PATCH] ath5k: use tracing for packet tx/rx dump

2010-06-21 Thread Bob Copeland
On Sun, Jun 20, 2010 at 06:36:35PM -0400, Bob Copeland wrote: > The packet data is still captured in the trace, so one > can use plugins with trace-cmd to extract the raw data. Here's how one would go about doing that, incidentally: 1. Install trace-cmd. 2. Add the attached python script to ~/.tr

Re: [ath5k-devel] [RFC PATCH] ath5k: use tracing for packet tx/rx dump

2010-06-20 Thread Bruno Randolf
On Mon June 21 2010 07:36:35 Bob Copeland wrote: > Hi all, > > This adds a few tracepoints to ath5k driver transmit and > receive callbacks in order to record packet traffic. > > The advantage of this approach over the previous debug > statements in the kernel printk buffer is that the debug > is

[ath5k-devel] [RFC PATCH] ath5k: use tracing for packet tx/rx dump

2010-06-20 Thread Bob Copeland
Hi all, This adds a few tracepoints to ath5k driver transmit and receive callbacks in order to record packet traffic. The advantage of this approach over the previous debug statements in the kernel printk buffer is that the debug is no longer an out-of-line function call, and the trace can be com