aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorTom Huynh <tom.huynh@freescale.com>2015-01-20 16:19:50 -0600
committerScott Wood <scottwood@freescale.com>2015-01-29 20:05:56 -0600
commitd2caa3cebda8b626336e100b80a0ed6f909dccab (patch)
tree1f72536b25f7bcaa9e891a85891f9a060bcdaeb1 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentpowerpc: Remove duplicate tlbcam_index declarations (diff)
downloadwireguard-linux-d2caa3cebda8b626336e100b80a0ed6f909dccab.tar.xz
wireguard-linux-d2caa3cebda8b626336e100b80a0ed6f909dccab.zip
powerpc/perf: fix fsl_emb_pmu_start to write correct pmc value
PMCs on PowerPC increases towards 0x80000000 and triggers an overflow interrupt when the msb is set to collect a sample. Therefore, to setup for the next sample collection, pmu_start should set the pmc value to 0x80000000 - left instead of left which incorrectly delays the next overflow interrupt. Same as commit 9a45a9407c69 ("powerpc/perf: power_pmu_start restores incorrect values, breaking frequency events") for book3s. Signed-off-by: Tom Huynh <tom.huynh@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions