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|
|
|
|
|
|
|
|
2014-01-02 10:53:04 +01:00
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-04 14:20:17 +09:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:07 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-19 18:17:44 +09:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-12 14:29:40 -03:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:02 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:02 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:02 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2013-12-03 14:09:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-04 14:20:21 +09:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2013-12-03 14:09:27 +01:00
|
|
|
|
|
|
|
|
|
2013-12-03 14:09:28 +01:00
|
|
|
|
2013-12-03 14:09:29 +01:00
|
|
|
|
2013-12-03 14:09:30 +01:00
|
|
|
|
2013-12-03 14:09:31 +01:00
|
|
|
|
2013-12-03 14:09:32 +01:00
|
|
|
|
tools lib traceevent: Add xen plugin
Adding xen plugin.
This plugin adds fields resolving for following tracepoint events:
xen:xen_mc_entry
xen:xen_mc_extend_args
The diff of 'perf script' output generated by old and new code: (data
was generated by 'perf record -e 'xen:*' ls')
--- script.xen.old
+++ script.xen.new
- swapper 0 [002] 136.267492: xen:xen_mc_entry: [FAILED TO PARSE] op=3 nargs=2 args=ARRAY[18, 00, 00, 00, 00, 00, 00, 00, 00, e0, d4, 4b, 04, 88, ff, ff, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
+ swapper 0 [002] 136.267492: xen:xen_mc_entry: op 3(stack_switch) args [18, 0, 0, 0, 0, 0]
- perf 1970 [008] 136.273319: xen:xen_mc_extend_args: [FAILED TO PARSE] op=1 args=16 res=1
+ perf 1970 [008] 136.273319: xen:xen_mc_extend_args: extending op 1(mmu_update) by 16 bytes res ???
NOTE We still do not handle the 'sizeof' and fail to parse following xen
tracepoints:
xen:xen_mmu_set_pte
xen:xen_mmu_set_pte_atomic
xen:xen_mmu_set_domain_pte
xen:xen_mmu_set_pte_at
xen:xen_mmu_set_pmd
xen:xen_mmu_set_pud
xen:xen_mmu_set_pgd
xen:xen_mmu_ptep_modify_prot_start
xen:xen_mmu_ptep_modify_prot_commit
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: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
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-20-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-12-03 14:09:33 +01:00
|
|
|
|
2013-12-03 14:09:34 +01:00
|
|
|
|
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-03 14:09:35 +01:00
|
|
|
|
2013-12-03 14:09:26 +01:00
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:04 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:04 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
|
|
|
|
|
2012-07-06 16:21:32 +09:00
|
|
|
|
2013-12-19 14:42:03 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
2013-12-19 14:42:03 +01:00
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:04 +01:00
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2014-01-02 10:53:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-02 10:53:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-02 10:53:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-22 14:37:36 +09:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2014-01-02 10:53:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-06 16:21:32 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-09 11:49:27 +02:00
|
|
|
|
2012-07-06 16:21:32 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
2012-06-22 17:10:14 +09:00
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-22 17:10:14 +09:00
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
2013-12-19 14:42:05 +01:00
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
2013-12-19 14:42:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-03 14:09:17 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-19 14:42:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-01 17:50:50 +01:00
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
2014-01-01 17:50:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-06 00:47:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|