aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSebastian Ott <[email protected]>2017-10-12 13:57:26 +0200
committerMartin Schwidefsky <[email protected]>2017-10-18 14:11:23 +0200
commit0dcd91a9e6cc0a401416bbdd34b0a255cde0aee1 (patch)
tree9a095afe44969df5b0a6ad4ee8a251257db78645 /tools/perf/util/trace-event-scripting.c
parent94158e544fd60c6a94af348790dae76578ed8dae (diff)
s390/debug: only write data once
debug_event_common memsets the active debug entry with zeros to prevent stale data leakage. This is overwritten with the actual debug data in the next step. Only write zeros to that part of the debug entry that's not used by new debug data. Micro benchmarks show a 2-10% reduction of cpu cycles with this approach. Signed-off-by: Sebastian Ott <[email protected]> Acked-by: Michael Holzheu <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions