All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: "Guido Günther" <agx@sigxcpu.org>
Cc: linux-wpan@vger.kernel.org
Subject: Re: [PATCH v2] ieee802154: Add trace events for rdev->ops
Date: Wed, 22 Apr 2015 10:09:37 +0200	[thread overview]
Message-ID: <20150422080936.GA946@omega> (raw)
In-Reply-To: <20150420183656.GC5248@bogon.m.sigxcpu.org>

On Mon, Apr 20, 2015 at 08:36:56PM +0200, Guido Günther wrote:
> Enabling tracing via
> 
>  echo 1 > /sys/kernel/debug/tracing/events/cfg802154/enable
> 
> enables event tracing like
> 
>  iwpan dev wpan0 set pan_id 0xbeef
>  cat /sys/kernel/debug/tracing/trace
>  # tracer: nop
>  #
>  # entries-in-buffer/entries-written: 2/2   #P:1
>  #
>  #                              _-----=> irqs-off
>  #                             / _----=> need-resched
>  #                            | / _---=> hardirq/softirq
>  #                            || / _--=> preempt-depth
>  #                            ||| /     delay
>  #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
>  #              | |       |   ||||       |         |
>             iwpan-2663  [000] ....   170.369142: 802154_rdev_set_pan_id: phy0, wpan_dev(1), pan id: 0xbeef
>             iwpan-2663  [000] ....   170.369177: 802154_rdev_return_int: phy0, returned: 0
> 
> Signed-off-by: Guido Günther <agx@sigxcpu.org>

Acked-by: Alexander Aring <alex.aring@gmail.com>

- Alex

  reply	other threads:[~2015-04-22  8:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20 18:36 [PATCH v2] ieee802154: Add trace events for rdev->ops Guido Günther
2015-04-22  8:09 ` Alexander Aring [this message]
2015-04-23 19:45   ` Guido Günther
2015-04-25  6:45     ` Alexander Aring

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=20150422080936.GA946@omega \
    --to=alex.aring@gmail.com \
    --cc=agx@sigxcpu.org \
    --cc=linux-wpan@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.