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
04 07:20:52 -0500'>2026-03-04net: consume xmit errors of GSO framesJakub Kicinski 2026-03-04net: add a common function to compute features for upper devicesHangbin Liu 2026-03-04net: Drop the lock in skb_may_tx_timestamp()Sebastian Andrzej Siewior 2026-03-04net: do not pass flow_id to set_rps_cpu()Eric Dumazet 2026-03-04gro: change the BUG_ON() in gro_pull_from_frag0()Eric Dumazet 2026-02-26net: remove WARN_ON_ONCE when accessing forward path arrayPablo Neira Ayuso 2026-02-26bpf: Fix bpf_xdp_store_bytes proto for read-only argPaul Chaignon 2026-02-26bpf, sockmap: Fix FIONREAD for sockmapJiayuan Chen 2026-02-26bpf, sockmap: Fix incorrect copied_seq calculationJiayuan Chen 2026-02-26bpf: Fix memory access flags in helper prototypesZesen Liu 2026-02-11net: gro: fix outer network offsetPaolo Abeni 2026-02-11net: add proper RCU protection to /proc/net/ptypeEric Dumazet 2026-02-11linkwatch: use __dev_put() in callers to prevent UAFJiayuan Chen 2026-02-11net: don't touch dev->stats in BPF redirect pathsJakub Kicinski 2026-02-06net: fix segmentation of forwarding fraglist GROJibin Zhang 2026-01-23dst: fix races in rt6_uncached_list_del() and rt_del_uncached_list()Eric Dumazet 2026-01-23net: update netdev_lock_{type,name}Eric Dumazet 2026-01-17net: fix memory leak in skb_segment_list for GRO packetsMohammad Heib 2026-01-17net: sock: fix hardened usercopy panic in sock_recv_errqueueWeiming Shi