aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2022-03-30 13:19:23 -0700
committerMark Brown <[email protected]>2022-04-04 08:39:08 +0100
commit5db8eb5b9e35c712cc63fcebf04c80ace9812961 (patch)
tree4916e637854a9f3d5872a1c7a5c086897daf91b2 /tools/perf/scripts/python/syscall-counts.py
parent249ee180874dd48a809caf70981b2aa800329d27 (diff)
ASoC: SOF: ipc: Use msg->reply_data directly in snd_sof_ipc_get_reply()
Instead of using a local reply to first read out the header from the mailbox then memcpy it or read it again to msg->reply_data, read it directly to it's final place from the start. If we received an error we do not need to do a memcpy anymore. If the reply is reporting a success then we don not need to read the reply again from the mailbox if the reply_size equals to the already read header size. Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Ranjani Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions