From: Bruno Randolf <br1@einfach.org>
To: ath5k-devel@lists.ath5k.org
Cc: Bob Copeland <me@bobcopeland.com>, linux-wireless@vger.kernel.org
Subject: Re: [ath5k-devel] [PATCH/RFC 0/3] ath5k: add driver tracepoints
Date: Tue, 20 Jul 2010 14:11:51 +0900 [thread overview]
Message-ID: <201007201411.51259.br1@einfach.org> (raw)
In-Reply-To: <1279395336-856-1-git-send-email-me@bobcopeland.com>
On Sun July 18 2010 04:35:33 Bob Copeland wrote:
> This series adds some tracepoints for reset and tx/rx, with an
> eye toward replacing some of the debug printks we have today.
> Stolen form iwlwifi is the idea of logging entire packets so
> we can generate pcap files from the traces, via something like:
>
> $ mkdir -p ~/.trace-cmd/plugins
> $ cd ~/.trace-cmd/plugins
> $ wget 'http://bobcopeland.com/srcs/ath5k_trace.py'
> $ trace-cmd record -e mac80211 -e ath5k sleep 500
> $ trace-cmd report | less
> $ wireshark /tmp/pcap.out
>
> I quite like the result, but I'd be interested to hear others'
> opinions on the approach. Right now I think these tracepoints
> will be useful in seeing causes of excessive resets, and debugging
> queue hangs.
hmm, this is really nice stuff, but i'm not sure what to do on embedded boards
where we don't have python or where it's not possible to use tracing in
general due to (low) performance reasons. in these cases the kernel printks
are just so much more easy to use... i would actually prefer to keep them...
additionally to the new tracing you made, maybe? otoh we could probably get
tracing enabled on all boards if we really need it, it's just some extra
work...
bruno
next prev parent reply other threads:[~2010-07-20 5:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-17 19:35 [PATCH/RFC 0/3] ath5k: add driver tracepoints Bob Copeland
2010-07-17 19:35 ` [PATCH/RFC 1/3] ath5k: log descriptor chains at a new debug level Bob Copeland
2010-07-20 5:01 ` Bruno Randolf
2010-07-17 19:35 ` [PATCH/RFC 2/3] ath5k: use tracing for packet tx/rx dump Bob Copeland
2010-07-17 19:35 ` [PATCH/RFC 3/3] ath5k: trace resets Bob Copeland
2010-07-20 5:20 ` Bruno Randolf
2010-07-20 14:52 ` Bob Copeland
2010-07-21 1:04 ` Bruno Randolf
2010-07-21 1:12 ` [ath5k-devel] " Luis R. Rodriguez
2010-07-21 3:41 ` Bob Copeland
2010-07-21 5:17 ` Bruno Randolf
2010-07-21 5:46 ` Ben Gamari
2010-07-21 7:53 ` Johannes Berg
2010-07-22 9:21 ` Bruno Randolf
2010-07-20 5:11 ` Bruno Randolf [this message]
2010-07-20 7:54 ` [ath5k-devel] [PATCH/RFC 0/3] ath5k: add driver tracepoints Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201007201411.51259.br1@einfach.org \
--to=br1@einfach.org \
--cc=ath5k-devel@lists.ath5k.org \
--cc=linux-wireless@vger.kernel.org \
--cc=me@bobcopeland.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).