aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKonrad Dybcio <[email protected]>2024-01-09 11:04:49 +0100
committerMark Brown <[email protected]>2024-01-22 00:06:46 +0000
commit5df3b41bd6b5432010d6d85e5aa7217bd8f6b0cb (patch)
tree925e16d05c84d7294d829318716b6e5bcf2a472a /tools/perf/util/scripting-engines/trace-event-python.c
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
regulator: qcom_smd: Keep one rpm handle for all vregs
For no apparent reason (as there's just one RPM per SoC), all vregs currently store a copy of a pointer to smd_rpm. Introduce a single, global one to save up on space in each definition. bloat-o-meter reports a slight uptick: Total: Before=44008, After=44080, chg +0.16% However the saved n * sizeof(ptr) for every dynamically allocated regulator quickly makes up for it. Signed-off-by: Konrad Dybcio <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions