diff options
| author | Luis Ortega <[email protected]> | 2014-01-27 12:28:33 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2014-01-27 22:35:17 -0800 |
| commit | d333b6062f1414622d1fe37314fa2ec9e3df402d (patch) | |
| tree | 9a34bd475dcf6b414dcb182cc9d2bf14ddc391f3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 5aee41a60c4d53f65918c1ec0ab94c245f2c08af (diff) | |
Input: zforce - reduce stack memory allocated to frames
A frame is a u8 array with the following structure:
[PAYLOAD_HEADER, PAYLOAD_LENGTH, ...PAYLOAD_BODY...]
PAYLOAD_BODY can be at most 255 bytes long, as it's size is represented
by PAYLOAD_LENGTH. Therefore we can reduce the stack memory allocated to
payload_buffer[] roughly by half, from 512 to 257 bytes.
Signed-off-by: Luis Ortega <[email protected]>
Acked-by: Heiko Stuebner <[email protected]>
Tested-by: Heiko Stuebner <[email protected]> - bq Cervantes (imx6sl)
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions