aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <[email protected]>2023-02-22 10:42:50 +0100
committerMatthias Brugger <[email protected]>2023-04-02 18:52:02 +0200
commitdc36768d05bc877b1227b09af1bb304a28284ce3 (patch)
treec61004c9b58055dfbb687b4bdbefc6034d0820d1 /tools/perf/scripts/python/export-to-postgresql.py
parent00ee1db7016b73ecd3214d6dc2df4fa02beb694d (diff)
soc: mediatek: mtk-mutex: Replace max handles number with definition
Replace the magic number "10", defining the maximum number of supported handles with a MTK_MUTEX_MAX_HANDLES definition. While at it, also change the type for `id` from a signed integer to a unsigned 8 bits integer to save some (small) memory footprint, as this number is never higher than 10. This cleanup brings no functional changes. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions