On 06/01/2015 09:26 AM, Varka Bhadram wrote:
This patch adds trace events for driver operations. Signed-off-by: Varka Bhadram <varkab@xxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html