aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
blob: 5ff6033e70ba42ce4253a00e4a922b1924e9c451 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# description: export perf data to a sqlite3 database
# args: [database name] [columns] [calls]
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 3 ] ; then
    echo "usage: export-to-sqlite-report [database name] [columns] [calls]"
    exit
fi
if [ "$n_args" -gt 2 ] ; then
    dbname=$1
    columns=$2
    calls=$3
    shift 3
elif [ "$n_args" -gt 1 ] ; then
    dbname=$1
    columns=$2
    shift 2
elif [ "$n_args" -gt 0 ] ; then
    dbname=$1
    shift
fi
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/export-to-sqlite.py $dbname $columns $calls
ndler name for CLARiiON arraysXose Vazquez Perez1-3/+3 2016-10-11Fix off-by-one in __pipe_get_pages()Al Viro1-2/+2 2016-10-11netfilter: Fix slab corruption.Linus Torvalds1-75/+33 2016-10-10Revert "btrfs: let btrfs_delete_unused_bgs() to clean relocated bgs"Chris Mason2-11/+15 2016-10-10[btrfs] fix check_direct_IO() for non-iovec iteratorsAl Viro1-1/+1 2016-10-10constify iov_iter_count() and iter_is_iovec()Al Viro1-2/+2 2016-10-10fix ITER_PIPE interaction with direct_IOAl Viro3-11/+5 2016-10-10dlm: free workqueues after the connectionsMarcelo Ricardo Leitner1-6/+2 2016-10-09printk: make reading the kernel log flush pending linesLinus Torvalds1-0/+11 2016-10-09printk: re-organize log_output() to be more legibleLinus Torvalds1-35/+27 2016-10-09printk: split out core logging code into helper functionLinus Torvalds1-39/+39 2016-10-09printk: reinstate KERN_CONT for printing continuation linesLinus Torvalds5-23/+19 2016-10-09be2net: Enable VF link state setting for BE3Suresh Reddy1-1/+1 2016-10-09be2net: Fix TX stats for TSO packetsSriharsha Basavapatna1-2/+12 2016-10-09be2net: Update Copyright string in be_hw.hSriharsha Basavapatna1-1/+1 2016-10-09be2net: NCSI FW section should be properly updated with ethtool for BE3Sriharsha Basavapatna1-1/+23 2016-10-09be2net: Provide an alternate way to read pf_num for BEx chipsSriharsha Basavapatna2-1/+10 2016-10-08x86/pkeys: Make protection keys an "eager" featureDave Hansen1-3/+4 2016-10-08x86/apic: Prevent pointless warning messagesThomas Gleixner1-3/+5 2016-10-08x86/acpi: Prevent LAPIC id 0xff from being accountedThomas Gleixner1-0/+4 2016-10-08wan/fsl_ucc_hdlc: Fix size used in dma_free_coherent()Christophe Jaillet1-4/+4 2016-10-07net: macb: NULL out phydev after removing mdio busNathan Sullivan1-0/+1 2016-10-07xen-netback: make sure that hashes are not send to unaware frontendsPaul Durrant1-11/+9 2016-10-07Fixing a bug in team driver due to incorrect 'unsigned int' to 'int' conversionAlex Sidorenko1-1/+1 2016-10-07MAINTAINERS: add myself as a maintainer of xen-netbackPaul Durrant1-0/+1 2016-10-07ipv6 addrconf: disallow rtr_solicits < -1Maciej Żenczykowski1-1/+3 2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher55-319/+0 2016-10-07console: don't prefer first registered if DT specifies stdout-pathPaul Burton3-1/+20 2016-10-07cred: simpler, 1D supplementary groupsAlexey Dobriyan14-85/+46 2016-10-07CREDITS: update Pavel's information, add GPG key, remove snail mail addressPavel Machek1-4/+4 2016-10-07mailmap: add Johan HovoldJohan Hovold1-0/+2