summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
blob: 5ff6033e70ba42ce4253a00e4a922b1924e9c451 (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
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
-19 08:15:30 +0200'>2024-09-19Merge tag 'hyperv-next-signed-20240916' of git://git.kernel.org/pub/scm/linux...Linus Torvalds 2024-09-09tools/hv: Add memory allocation check in hv_fcopy_startZhu Jun 2024-09-05tools: hv: rm .*.cmd when make cleanzhang jiao 2024-08-03tools: hv: lsvmbus: change shebang to use python3Anthony Nandaa 2024-05-28tools: hv: suppress the invalid warning for packed member alignmentSaurabh Sengar 2024-04-23Merge 6.9-rc5 into char-misc-nextGreg Kroah-Hartman 2024-04-11Drivers: hv: Remove fcopy driverSaurabh Sengar 2024-04-11tools: hv: Add new fcopy application based on uio driverSaurabh Sengar 2024-04-11tools: hv: Add vmbus_bufringSaurabh Sengar 2024-04-10hv/hv_kvp_daemon: Handle IPv4 and Ipv6 combination for keyfile formatShradha Gupta 2023-11-10hv/hv_kvp_daemon: Some small fixes for handling NM keyfilesAni Sinha 2023-10-10hv/hv_kvp_daemon:Support for keyfile based connection profileShradha Gupta 2023-07-23vmbus_testing: fix wrong python syntax for integer value comparisonAni Sinha 2022-09-05tools: hv: kvp: remove unnecessary (void*) conversionsZhou jie 2022-08-15tools: hv: Remove an extraneous "the"Jason Wang 2022-02-15kbuild: replace $(if A,A,B) with $(or A,B)Masahiro Yamada 2020-07-06tools: hv: change http to https in hv_kvp_daemon.cAlexander A. Klimov 2020-01-26Tools: hv: Reopen the devices if read() or write() returns errorsDexuan Cui 2019-11-21tools: hv: add vmbus testing toolBranden Bonaby 2019-09-24Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds 2019-08-20Tools: hv: move to tools buildsystemAndy Shevchenko 2019-08-20Tools: hv: kvp: eliminate 'may be used uninitialized' warningVitaly Kuznetsov 2019-08-17tools: hv: fix typos in toolchainAdrian Vladu 2019-08-17tools: hv: fix KVP and VSS daemons exit codeAdrian Vladu 2019-08-17tools: hv: fixed Python pep8/flake8 warnings for lsvmbusAdrian Vladu 2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 280Thomas Gleixner