#!/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 od='get'> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
AgeCommit message (Expand)Author
2018-06-06perf script powerpc: Python script for hypervisor call statisticsRavi Bangoria
2018-01-12perf script python: Add script to profile and resolve physical mem typeKan Liang
2017-08-15perf script python: Add support for exporting to sqlite3Adrian Hunter
2017-06-30perf intel-pt: Add example script for power events and PTWRITEAdrian Hunter
2016-06-21perf script: Add stackcollapse.py scriptPaolo Bonzini
2015-08-28perf scripts python: Add new compaction-times scriptTony Jones
2014-11-03perf tools: Add call information to Python exportAdrian Hunter
2014-10-29perf script: Add Python script to export to postgresqlAdrian Hunter
2014-06-25perf scripts: Fallback to syscalls:* when raw_syscalls:* is not availableDaniel Bristot de Oliveira
2012-09-17perf scripts: Add event_analyzing_sample-record/reportFeng Tang
2011-09-29perf script: Add drop monitor scriptNeil Horman