summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/syscall-counts-by-pid-report
blob: 16eb8d65c54335e08d1a95e7068e6d0df55be6b5 (plain)
1
2
3
4
5
6
7
8
9
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
ls/perf/util/include?h=linux-5.1.y&id=cec07f53c398f22576df77052c4777dc13f14962'>perf tools: Move syscall number fallbacks from perf-sys.h to tools/arch/x86/i...Arnaldo Carvalho de Melo 2016-01-08tools lib: Move bitmap.[ch] from tools/perf/ to tools/{lib,include}/Arnaldo Carvalho de Melo 2016-01-08tools lib: Sync tools/lib/find_bit.c with the kernelArnaldo Carvalho de Melo 2015-11-18tools: Adopt memdup() from tools/perf, moving it to tools/lib/string.cArnaldo Carvalho de Melo 2015-09-15perf tools: regs_query_register_offset() infrastructureWang Nan 2015-07-05tools: Copy rbtree_augmented.h from the kernelArnaldo Carvalho de Melo 2015-07-05tools: Move rbtree.h from tools/perf/Arnaldo Carvalho de Melo 2015-07-05perf tools: Copy rbtree.h from the kernelArnaldo Carvalho de Melo 2015-06-02tools: Move tools/perf/util/include/linux/{list.h,poison.h} to tools/includeWang Nan 2015-06-02perf tools: Move linux/kernel.h to tools/includeWang Nan 2015-05-27perf tools: Import rb_erase_init from block/ in the kernel sourcesArnaldo Carvalho de Melo 2015-03-03perf/bench: Fix mem* routines usage after alternatives changeBorislav Petkov 2015-01-16tools: Remove bitops/hweight usage of bits in tools/perfArnaldo Carvalho de Melo 2014-12-19Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds 2014-12-17tools: Move bitops.h from tools/perf/util to tools/Arnaldo Carvalho de Melo 2014-12-17tools: Introduce asm-generic/bitops.hArnaldo Carvalho de Melo 2014-12-17tools lib: Move asm-generic/bitops/find.h code to tools/include and tools/libArnaldo Carvalho de Melo 2014-12-17tools: Whitespace prep patches for moving bitops.hArnaldo Carvalho de Melo 2014-12-17tools: Move code originally from asm-generic/atomic.h into tools/include/asm-...Arnaldo Carvalho de Melo 2014-12-17tools: Move __ffs implementation to tools/include/asm-generic/bitops/__ffs.hArnaldo Carvalho de Melo 2014-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds 2014-12-10net, lib: kill arch_fast_hash library bitsDaniel Borkmann 2014-11-06perf tools: Add test_and_set_bit functionJiri Olsa 2014-10-15Revert "perf tools: Default to cpu// for events v5"Kan Liang 2014-07-17perf tools: Move pr_* debug macros into debug objectJiri Olsa 2014-05-01tools: Consolidate types.hBorislav Petkov 2014-05-01tools: Unify export.hBorislav Petkov 2014-03-18perf tools: Remove unused simple_strtoul() functionRamkumar Ramachandra 2014-03-11Merge branch 'perf/urgent' into perf/coreIngo Molnar 2014-02-28perf tools: Fix strict alias issue for find_first_bitJiri Olsa 2014-02-18perf tools: Drop prefetch.hBorislav Petkov 2014-02-18perf tools: Move hash.h headerBorislav Petkov 2014-02-18perf tools: Move fs.* to lib/api/fs/Borislav Petkov 2014-01-31perf tools: Fix include for non x86 architecturesFrancesco Fusco 2014-01-13tools include: Move perf's bug.h to a generic placeNamhyung Kim 2014-01-13tools include: Move perf's linux/compiler.h to a generic placeNamhyung Kim 2013-11-05perf fs: Add procfs supportJiri Olsa 2013-10-09tools/perf: Turn strlcpy() into a __weak functionIngo Molnar 2013-10-09tools/perf: Clean up util/include/linux/compiler.hIngo Molnar 2013-10-09tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORTIngo Molnar 2013-07-12perf tools: Default to cpu// for events v5Andi Kleen