Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Varka Bhadram <varkabhadram@gmail.com>
To: linux-wpan@vger.kernel.org
Cc: alex.aring@gmail.com, Varka Bhadram <varkab@cdac.in>
Subject: Re: [PATCH bluetooth-next] mac802154: add trace functionality for driver ops
Date: Mon, 01 Jun 2015 09:45:36 +0530	[thread overview]
Message-ID: <556BDC68.1000608@gmail.com> (raw)
In-Reply-To: <1433130997-5148-1-git-send-email-varkab@cdac.in>

On 06/01/2015 09:26 AM, Varka Bhadram wrote:

> This patch adds trace events for driver operations.
>
> Signed-off-by: Varka Bhadram <varkab@cdac.in>
> ---
>   net/mac802154/Makefile     |    4 +-
>   net/mac802154/driver-ops.h |   92 ++++++++++++---
>   net/mac802154/trace.c      |    9 ++
>   net/mac802154/trace.h      |  272 ++++++++++++++++++++++++++++++++++++++++++++
>   4 files changed, 362 insertions(+), 15 deletions(-)
>   create mode 100644 net/mac802154/trace.c
>   create mode 100644 net/mac802154/trace.h
>
(...)

> +TRACE_EVENT(802154_drv_set_extended_addr,
> +	TP_PROTO(struct ieee802154_local *local, __le64 extended_addr),
> +	TP_ARGS(local, extended_addr),
> +	TP_STRUCT__entry(
> +		LOCAL_ENTRY
> +		__field(__le64, extended_addr)
> +	),
> +	TP_fast_assign(
> +		LOCAL_ASSIGN;
> +		__entry->extended_addr = extended_addr;
> +	),
> +	TP_printk(LOCAL_PR_FMT ", extended addr: %0xllx", LOCAL_PR_ARG,

Its my bad. Fix to be done in the format specifier. I will send v2.

Thanks


-- 
Varka Bhadram


      reply	other threads:[~2015-06-01  4:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01  3:56 [PATCH bluetooth-next] mac802154: add trace functionality for driver ops Varka Bhadram
2015-06-01  4:15 ` Varka Bhadram [this message]

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=556BDC68.1000608@gmail.com \
    --to=varkabhadram@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=varkab@cdac.in \
    /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