aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBjorn Andersson <[email protected]>2023-08-11 20:58:38 +0000
committerBjorn Andersson <[email protected]>2023-08-14 02:27:32 +0000
commit8873d1e2f88afbe89c99d8f49f88934a2da2991f (patch)
tree6d8fe660174a0ab1c7c26662e7315ad77481085b /tools/perf/scripts/python
parentsoc: qcom: aoss: Move length requirements from caller (diff)
downloadkernel-8873d1e2f88afbe89c99d8f49f88934a2da2991f.tar.gz
kernel-8873d1e2f88afbe89c99d8f49f88934a2da2991f.zip
soc: qcom: aoss: Format string in qmp_send()
The majority of callers to qmp_send() composes the message dynamically using some form of sprintf(), resulting in unnecessary complication and stack usage. By changing the interface of qmp_send() to take a format string and arguments, the duplicated composition of the commands can be moved to a single location. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions