aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <[email protected]>2012-02-24 09:37:42 +0000
committerAnton Altaparmakov <[email protected]>2012-02-24 09:37:42 +0000
commit97387e3baaf3c35ad560f8878e943c720a77da1b (patch)
treefb7ca5625edc0693388a1355b85ed62fc8a5b221 /tools/perf/util/scripting-engines/trace-event-python.c
parent9b556248ecb059095e000f77c4b84899feb50098 (diff)
LDM: Fix reassembly of extended VBLKs.
From: Ben Hutchings <[email protected]> Extended VBLKs (those larger than the preset VBLK size) are divided into fragments, each with its own VBLK header. Our LDM implementation generally assumes that each VBLK is contiguous in memory, so these fragments must be assembled before further processing. Currently the reassembly seems to be done quite wrongly - no VBLK header is copied into the contiguous buffer, and the length of the header is subtracted twice from each fragment. Also the total length of the reassembled VBLK is calculated incorrectly. Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Anton Altaparmakov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions