summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/sctop-report
blob: c32db294124da91d2654302c9d8e32673ec2bc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
04477b5'>kbuild: add --target to correctly cross-compile UAPI headers with ClangMasahiro Yamada 2022-03-31usr/include: replace extra-y with always-yMasahiro Yamada 2022-02-17reiserfs_xattr.h: add linux/reiserfs_xattr.h to UAPI compile-test coverageMasahiro Yamada 2022-02-17kexec.h: add linux/kexec.h to UAPI compile-test coverageMasahiro Yamada 2022-02-17fsmap.h: add linux/fsmap.h to UAPI compile-test coverageMasahiro Yamada 2022-02-17android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverageMasahiro Yamada 2022-02-17shmbuf.h: add asm/shmbuf.h to UAPI compile-test coverageMasahiro Yamada 2022-02-17signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverageMasahiro Yamada 2022-02-14kbuild: Add environment variables for userprogs flagsElliot Berman 2022-01-27kbuild: remove include/linux/cyclades.h from header file checkGreg Kroah-Hartman 2022-01-22usr/include/Makefile: add linux/nfc.h to the compile-test coverageDmitry V. Levin 2022-01-08kbuild: move headers_check.pl to usr/include/Masahiro Yamada 2021-05-02usr/include: refactor .gitignoreMasahiro Yamada 2021-01-22arch: ia64: Remove rest of perfmon supportViresh Kumar 2020-07-27unexport linux/elfcore.hAl Viro 2020-05-17bpfilter: match bit size of bpfilter_umh to that of the kernelMasahiro Yamada 2020-05-12kbuild: use -MMD instead of -MD to exclude system headers from dependencyMasahiro Yamada 2020-04-11kbuild: fix comment about missing include guard detectionMasahiro Yamada 2020-03-25.gitignore: add SPDX License IdentifierMasahiro Yamada 2020-01-07kbuild: rename header-test- to no-header-test in usr/include/MakefileMasahiro Yamada 2020-01-07kbuild: detect missing include guard for exported headersMasahiro Yamada 2019-12-09kbuild: fix 'No such file or directory' warning when cleaningMasahiro Yamada 2019-12-04arch: sembuf.h: make uapi asm/sembuf.h self-containedMasahiro Yamada 2019-12-04arch: msgbuf.h: make uapi asm/msgbuf.h self-containedMasahiro Yamada 2019-12-04arch: ipcbuf.h: make uapi asm/ipcbuf.h self-containedMasahiro Yamada 2019-12-04linux/scc.h: make uapi linux/scc.h self-containedMasahiro Yamada 2019-11-15kbuild: move headers_check rule to usr/include/MakefileMasahiro Yamada 2019-11-15kbuild: remove header compile testMasahiro Yamada 2019-11-11kbuild: update compile-test header list for v5.5-rc1Masahiro Yamada 2019-10-05kbuild: update compile-test header list for v5.4-rc2Masahiro Yamada 2019-09-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds 2019-09-25netfilter: ebtables: use __u8 instead of uint8_t in uapi headerMasahiro Yamada 2019-08-29kbuild: remove clean-dirs syntaxMasahiro Yamada 2019-07-23kbuild: enable arch/s390/include/uapi/asm/zcrypt.h for uapi header testHeiko Carstens 2019-07-20kbuild: update compile-test header list for v5.3-rc1Masahiro Yamada 2019-07-08kbuild: compile-test exported headers to ensure they are self-containedMasahiro Yamada