aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracing/draw_functrace.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2009-08-10 16:11:32 +0200
committerIngo Molnar <[email protected]>2009-08-10 16:18:50 +0200
commit304703aba31a87903b8c0db8f5e6890cac2d596d (patch)
treebd233c6fd72d1d674c4a9537cfd6519069914d74 /scripts/tracing/draw_functrace.py
parenta4e95fc2cbb31d70a65beffeaf8773f881328c34 (diff)
perf_counter: Subtract the buffer size field from the event record size
We compute the perf raw sample size by aligning the raw ftrace event size plus the buffer size field itself. We do that instead of aligning only the perf raw sample size, so that we might economize some in some cases. But this buffer size field is not stored in the perf raw sample, we must then substract its size from the buffer once we computed the alignment unless we may get a useless u32 field in the buffer. Signed-off-by: Frederic Weisbecker <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> LKML-Reference: <20090810141129.GA5124@nowhere> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions