aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPavel Tatashin <[email protected]>2017-06-12 16:41:46 -0400
committerDavid S. Miller <[email protected]>2017-06-12 15:44:03 -0700
commit83e8eb99d908da78e6eff7dd141f26626fe01d12 (patch)
treee7bc4ce50b1a8543657fc236fde789928e66257c /tools/perf/scripts/python/stackcollapse.py
parent89108c3423e8047cd0da73182ea09b9da190b57e (diff)
sparc64: initialize time early
In Linux it is possible to configure printk() to output timestamp next to every line. This is very useful to determine the slow parts of the boot process, and also to avoid regressions, as boot time is visiable to everyone. Also, there are scripts that change these time stamps to intervals. However, on larger machines these timestamps start appearing many seconds, and even minutes into the boot process. This patch gets stick-frequency property early from OpenBoot, and uses its value to initialize time stamps before the first printk() messages are printed. Signed-off-by: Pavel Tatashin <[email protected]> Reviewed-by: Shannon Nelson <[email protected]> Reviewed-by: Steven Sistare <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions