提交 b0b6d914 编写于 作者: T Tom Zanussi

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: NTom Zanussi <tom.zanussi@linux.intel.com>
Acked-by: NArnaldo Carvalho de Melo <acme@ghostprotocols.net>
上级 e8719adf
#!/bin/bash
perf record -a -e raw_syscalls:sys_exit $@
perf record -e raw_syscalls:sys_exit $@
#!/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 $@
#!/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 $@
#!/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 $@
#!/bin/bash
perf record -a -e sched:sched_switch -e sched:sched_wakeup $@
perf record -e sched:sched_switch -e sched:sched_wakeup $@
......
#!/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 $@
#!/bin/bash
perf record -a -e raw_syscalls:sys_exit $@
perf record -e raw_syscalls:sys_exit $@
#!/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 $@
#!/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 \
......
#!/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 $@
#!/bin/bash
perf record -a -e raw_syscalls:sys_enter $@
perf record -e raw_syscalls:sys_enter $@
#!/bin/bash
perf record -a -e raw_syscalls:sys_enter $@
perf record -e raw_syscalls:sys_enter $@
#!/bin/bash
perf record -a -e raw_syscalls:sys_enter $@
perf record -e raw_syscalls:sys_enter $@
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册