aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2013-02-27 21:54:51 +0000
committerJames Hogan <[email protected]>2013-03-15 13:20:15 +0000
commit1fb4dc5c39af941d3abc597337e0ea776bfce0f2 (patch)
tree3a5a08501b8f421de3d69263c0bad38bd95221d1 /include/linux
parent9344de1b1c64b2217f3b15508266deff2a8d6c84 (diff)
metag: perf: don't reset TXTACTCYC
The thread active cycle counter TXTACTCYC is used in __delay so it shouldn't really be reset to zero by perf. Fix perf to just read the value, and instead of clearing it, record the prev_count value in enable_counter so that the delta calculations know about the previous value. Signed-off-by: James Hogan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions