Commit b0b6d914 authored by Tom Zanussi's avatar 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: default avatarTom Zanussi <tom.zanussi@linux.intel.com>
Acked-by: default avatarArnaldo Carvalho de Melo <acme@ghostprotocols.net>
parent e8719adf
#!/bin/bash #!/bin/bash
perf record -a -e raw_syscalls:sys_exit $@ perf record -e raw_syscalls:sys_exit $@
#!/bin/bash #!/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 #!/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 #!/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 #!/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 #!/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 #!/bin/bash
perf record -a -e raw_syscalls:sys_exit $@ perf record -e raw_syscalls:sys_exit $@
#!/bin/bash #!/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 #!/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 net:netif_receive_skb -e net:netif_rx \
-e skb:consume_skb -e skb:kfree_skb \ -e skb:consume_skb -e skb:kfree_skb \
-e skb:skb_copy_datagram_iovec -e napi:napi_poll \ -e skb:skb_copy_datagram_iovec -e napi:napi_poll \
......
#!/bin/bash #!/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 #!/bin/bash
perf record -a -e raw_syscalls:sys_enter $@ perf record -e raw_syscalls:sys_enter $@
#!/bin/bash #!/bin/bash
perf record -a -e raw_syscalls:sys_enter $@ perf record -e raw_syscalls:sys_enter $@
#!/bin/bash #!/bin/bash
perf record -a -e raw_syscalls:sys_enter $@ perf record -e raw_syscalls:sys_enter $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment