aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNicolai Stange <nicstange@gmail.com>2017-02-06 22:12:01 +0100
committerJohn Stultz <john.stultz@linaro.org>2017-03-23 12:14:02 -0700
commit3814ae092d36da04d5fbaf777c1564dc4ee68559 (patch)
tree45a9796de826070bd5f8f0eabcac3f659b904b9c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentclocksource: sh_tmu: Compute rate before registration again (diff)
downloadlinux-dev-3814ae092d36da04d5fbaf777c1564dc4ee68559.tar.xz
linux-dev-3814ae092d36da04d5fbaf777c1564dc4ee68559.zip
clocksource: em_sti: Split clock prepare and enable steps
Currently, the em_sti driver prepares and enables the needed clock in em_sti_enable(), potentially called through its clockevent device's ->set_state_oneshot(). However, the clk_prepare() step may sleep whereas tick_program_event() and thus, ->set_state_oneshot(), can be called in atomic context. Split the clk_prepare_enable() in em_sti_enable() into two steps: - prepare the clock at device probing via clk_prepare() - and enable it in em_sti_enable() via clk_enable(). Slightly reorder resource initialization in em_sti_probe() in order to facilitate error handling in later patches. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions