linux/tools/lib/traceevent
Jiri Olsa 9437147373 tools lib traceevent: Add cfg80211 plugin
Adding cfg80211 plugin.

This plugin adds handler for __le16_to_cpup function
t properly parse following tracepoint events:
  cfg80211:cfg80211_tx_mlme_mgmt
  cfg80211:cfg80211_rx_mlme_mgmt
  cfg80211:cfg80211_rx_unprot_mlme_mgmt

The diff of 'perf script' output generated by old and new code:
(data was generated by 'perf record -e 'cfg80211:*' -a')

  --- script.cfg80211.old
  +++ script.cfg80211.new
  -        ifconfig  2705 [003]   662.896560: cfg80211:cfg80211_tx_mlme_mgmt: [FAILED TO PARSE] name=wlan0 ifindex=3 frame=ARRAY[c0, 00, 00, 00, 00, 3a, 98, a0, 30, 51, 10, 0b, a9, c6, f4, 74, 00, 3a, 98, a0, 30, 51, 00, 00, 03, 00]
  +        ifconfig  2705 [003]   662.896560: cfg80211:cfg80211_tx_mlme_mgmt: netdev:wlan0(3), ftype:0xc0
  -   kworker/u16:0  1697 [002]   664.808210: cfg80211:cfg80211_rx_mlme_mgmt: [FAILED TO PARSE] name=wlan0 ifindex=3 frame=ARRAY[b0, 00, da, 00, 10, 0b, a9, c6, f4, 74, d8, 24, bd, a1, 26, 31, d8, 24, bd, a1, 26, 31, 10, b7, 00, 00, 02, 00, 00, 00]
  +   kworker/u16:0  1697 [002]   664.808210: cfg80211:cfg80211_rx_mlme_mgmt: netdev:wlan0(3), ftype:0xb0

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1386076182-14484-22-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-12-04 15:35:27 -03:00
..
.gitignore tools lib traceevent: Ignore TRACEEVENT-CFLAGS file 2012-07-25 11:54:44 -03:00
event-parse.c tools lib traceevent: Change pevent_parse_format to include pevent handle 2013-12-04 15:18:42 -03:00
event-parse.h tools lib traceevent: Change pevent_parse_format to include pevent handle 2013-12-04 15:18:42 -03:00
event-plugin.c tools lib traceevent: Add plugin support 2013-12-04 15:16:44 -03:00
event-utils.h tools lib traceevent: Update FSF postal address to be URL's. 2013-01-24 16:40:17 -03:00
kbuffer-parse.c tools lib traceevent: Port kbuffer parser routines 2013-07-12 13:52:16 -03:00
kbuffer.h tools lib traceevent: Port kbuffer parser routines 2013-07-12 13:52:16 -03:00
Makefile tools lib traceevent: Add cfg80211 plugin 2013-12-04 15:35:27 -03:00
parse-filter.c tools lib traceevent: Update FSF postal address to be URL's. 2013-01-24 16:40:17 -03:00
parse-utils.c tools lib traceevent: Add copyright header 2013-01-24 16:40:17 -03:00
plugin_cfg80211.c tools lib traceevent: Add cfg80211 plugin 2013-12-04 15:35:27 -03:00
plugin_function.c tools lib traceevent: Add function plugin 2013-12-04 15:32:00 -03:00
plugin_hrtimer.c tools lib traceevent: Add hrtimer plugin 2013-12-04 15:25:41 -03:00
plugin_jbd2.c tools lib traceevent: Add jbd2 plugin 2013-12-04 15:24:47 -03:00
plugin_kmem.c tools lib traceevent: Add kmem plugin 2013-12-04 15:26:05 -03:00
plugin_kvm.c tools lib traceevent: Add kvm plugin 2013-12-04 15:29:25 -03:00
plugin_mac80211.c tools lib traceevent: Add mac80211 plugin 2013-12-04 15:30:36 -03:00
plugin_sched_switch.c tools lib traceevent: Add sched_switch plugin 2013-12-04 15:31:11 -03:00
plugin_scsi.c tools lib traceevent: Add scsi plugin 2013-12-04 15:34:51 -03:00
plugin_xen.c tools lib traceevent: Add xen plugin 2013-12-04 15:34:04 -03:00
trace-seq.c tools lib traceevent: Add trace_seq_reset() 2013-07-12 13:52:12 -03:00