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
ockSebastian Andrzej Siewior 2014-09-18Fix unbalanced mutex in dma_pool_create().Krzysztof Hałasa 2014-06-04mm/dmapool.c: reuse devres_release() to free resourcesAndy Shevchenko 2014-06-04mm/dmapool.c: remove redundant NULL check for dev in dma_pool_create()Daeseok Youn 2014-05-05mm: Fix printk typo in dmapool.cHiroshige Sato 2012-12-11dmapool: make DMAPOOL_DEBUG detect corruption of free markerMatthieu CASTET 2012-12-11mm: dmapool: use provided gfp flags for all dma_alloc_coherent() callsMarek Szyprowski 2011-10-31mm: fix implicit stat.h usage in dmapool.cPaul Gortmaker 2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker 2011-07-25devres: fix possible use after freeMaxin B John 2011-01-13mm/dmapool.c: use TASK_UNINTERRUPTIBLE in dma_pool_alloc()Andrew Morton 2011-01-13mm/dmapool.c: take lock only once in dma_pool_free()Rolf Eike Beer