aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-07-27 10:35:07 +0200
committerThomas Gleixner <[email protected]>2015-07-27 13:52:19 +0200
commit00a2916f7f82c348a2a94dbb572874173bc308a3 (patch)
treeec5cf352c1cb61b944a9e6c2e969489441370f09 /tools/perf/scripts/python/export-to-postgresql.py
parentcbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f (diff)
perf: Fix running time accounting
A recent fix to the shadow timestamp inadvertly broke the running time accounting. We must not update the running timestamp if we fail to schedule the event, the event will not have ran. This can (and did) result in negative total runtime because the stopped timestamp was before the running timestamp (we 'started' but never stopped the event -- because it never really started we didn't have to stop it either). Reported-and-Tested-by: Vince Weaver <[email protected]> Fixes: 72f669c0086f ("perf: Update shadow timestamp before add event") Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: [email protected] # 4.1 Cc: Shaohua Li <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions