perf trace scripting: remove system-wide param from shell scripts
Including -a unconditionally when recording doesn't allow for the option of running scripts without it. Future patches will add add it back if needed at run-time. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Acked-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
Родитель
e8719adf30
Коммит
b0b6d914e2
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e raw_syscalls:sys_exit $@
|
||||
perf record -e raw_syscalls:sys_exit $@
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
|
||||
perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@
|
||||
perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@
|
||||
perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e sched:sched_switch -e sched:sched_wakeup $@
|
||||
perf record -e sched:sched_switch -e sched:sched_wakeup $@
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e workqueue:workqueue_creation -e workqueue:workqueue_destruction -e workqueue:workqueue_execution -e workqueue:workqueue_insertion $@
|
||||
perf record -e workqueue:workqueue_creation -e workqueue:workqueue_destruction -e workqueue:workqueue_execution -e workqueue:workqueue_insertion $@
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e raw_syscalls:sys_exit $@
|
||||
perf record -e raw_syscalls:sys_exit $@
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
|
||||
perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e net:net_dev_xmit -e net:net_dev_queue \
|
||||
perf record -e net:net_dev_xmit -e net:net_dev_queue \
|
||||
-e net:netif_receive_skb -e net:netif_rx \
|
||||
-e skb:consume_skb -e skb:kfree_skb \
|
||||
-e skb:skb_copy_datagram_iovec -e napi:napi_poll \
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -m 16384 -a -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched:sched_migrate_task $@
|
||||
perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched:sched_migrate_task $@
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e raw_syscalls:sys_enter $@
|
||||
perf record -e raw_syscalls:sys_enter $@
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e raw_syscalls:sys_enter $@
|
||||
perf record -e raw_syscalls:sys_enter $@
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
perf record -a -e raw_syscalls:sys_enter $@
|
||||
perf record -e raw_syscalls:sys_enter $@
|
||||
|
|
Загрузка…
Ссылка в новой задаче