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
/td>io_uring/rsrc: get rid of per-ring io_rsrc_node listJens Axboe 2024-10-29io_uring/poll: get rid of unlocked cancel hashJens Axboe 2024-09-15io_uring/rsrc: change ubuf->ubuf_end to length trackingJens Axboe 2024-08-25io_uring: add napi busy settings to the fdinfo outputOlivier Langlois 2024-04-15io_uring: fix warnings on shadow variablesJens Axboe 2024-03-09io_uring: Fix sqpoll utilization check racing with dying sqpollGabriel Krisman Bertazi 2024-03-01io_uring/sqpoll: statistics of the true utilization of sq threadsXiaobing Li 2023-11-15io_uring/fdinfo: remove need for sqpoll lock for thread/pid retrievalJens Axboe 2023-10-25io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pidJens Axboe 2023-09-01io_uring/fdinfo: only print ->sq_array[] if it's thereJens Axboe 2023-08-10io_uring/fdinfo: get rid of ref trygetJens Axboe 2023-03-01capability: just use a 'u64' instead of a 'u32[2]' arrayLinus Torvalds 2023-01-10io_uring/fdinfo: include locked hash table in fdinfo outputJens Axboe 2022-10-12io_uring: fix fdinfo sqe offsets calculationPavel Begunkov 2022-09-21io_uring/fdinfo: fix sqe dumping for IORING_SETUP_SQE128Jens Axboe 2022-09-21io_uring/fdinfo: get rid of unnecessary is_cqe32 variableJens Axboe 2022-07-24io_uring: move a few private types to local headersJens Axboe 2022-07-24io_uring: kill extra io_uring_types.h includesPavel Begunkov 2022-07-24io_uring: introduce a struct for hash tablePavel Begunkov 2022-07-24io_uring: switch cancel_hash to use per entry spinlockHao Xu 2022-07-24io_uring: move fdinfo helpers to its own fileJens Axboe