M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -e raw_syscalls:sys_exit $@

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# description: system-wide failed syscalls, by pid
# args: [comm]
if [ $# -gt 0 ] ; then
if ! expr match "$1" "-" > /dev/null ; then
comm=$1
shift
fi
fi
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# description: futext contention measurement
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -e skb:kfree_skb $@

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# description: display a table of dropped frames
perf script -s "$PERF_EXEC_PATH"/scripts/python/net_dropmonitor.py $@

View File

@@ -0,0 +1,8 @@
#!/bin/bash
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 \
-e irq:irq_handler_entry -e irq:irq_handler_exit \
-e irq:softirq_entry -e irq:softirq_exit \
-e irq:softirq_raise $@

View File

@@ -0,0 +1,5 @@
#!/bin/bash
# description: display a process of packet and processing time
# args: [tx] [rx] [dev=] [debug]
perf script -s "$PERF_EXEC_PATH"/scripts/python/netdev-times.py $@

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched:sched_migrate_task $@

View File

@@ -0,0 +1,3 @@
#!/bin/bash
# description: sched migration overview
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -e raw_syscalls:sys_enter $@

View File

@@ -0,0 +1,24 @@
#!/bin/bash
# description: syscall top
# args: [comm] [interval]
n_args=0
for i in "$@"
do
if expr match "$i" "-" > /dev/null ; then
break
fi
n_args=$(( $n_args + 1 ))
done
if [ "$n_args" -gt 2 ] ; then
echo "usage: sctop-report [comm] [interval]"
exit
fi
if [ "$n_args" -gt 1 ] ; then
comm=$1
interval=$2
shift 2
elif [ "$n_args" -gt 0 ] ; then
interval=$1
shift
fi
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -e raw_syscalls:sys_enter $@

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# description: system-wide syscall counts, by pid
# args: [comm]
if [ $# -gt 0 ] ; then
if ! expr match "$1" "-" > /dev/null ; then
comm=$1
shift
fi
fi
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm

View File

@@ -0,0 +1,2 @@
#!/bin/bash
perf record -e raw_syscalls:sys_enter $@

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# description: system-wide syscall counts
# args: [comm]
if [ $# -gt 0 ] ; then
if ! expr match "$1" "-" > /dev/null ; then
comm=$1
shift
fi
fi
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm