aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMichael Neuling <[email protected]>2013-08-26 13:55:57 +1000
committerBenjamin Herrenschmidt <[email protected]>2013-08-27 15:05:22 +1000
commitbc683a7e51c5c838bc74316125bebec92af74f12 (patch)
tree5e747e76bff1b853ec1a97dbb2fdb37f89d76460 /tools/perf/util/trace-event-scripting.c
parent3f1f4311881b330a7b5429dd101e676df191b159 (diff)
powerpc: Cleanup handling of the DSCR bit in the FSCR register
As suggested by paulus we can simplify the Data Stream Control Register (DSCR) Facility Status and Control Register (FSCR) handling. Firstly, we simplify the asm by using a rldimi. Secondly, we now use the FSCR only to control the DSCR facility, rather than both the FSCR and HFSCR. Users will see no functional change from this but will get a minor speedup as they will trap into the kernel only once (rather than twice) when they first touch the DSCR. Also, this changes removes a bunch of ugly FTR_SECTION code. Signed-off-by: Michael Neuling <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions