aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 18:10:30 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 18:10:30 +1000
commit6ec0a1c0e3f57820f14e6e613d30ff7919fba2b6 (patch)
tree8793874d496aaeea23d240f3e026227c5110e8c7
parent1cdae80c39bc5ec7c826f41b640ac33ce62b1da1 (diff)
downloadskiboot-6ec0a1c0e3f57820f14e6e613d30ff7919fba2b6.zip
skiboot-6ec0a1c0e3f57820f14e6e613d30ff7919fba2b6.tar.gz
skiboot-6ec0a1c0e3f57820f14e6e613d30ff7919fba2b6.tar.bz2
doc/console-log: minor updates
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--doc/console-log.rst19
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/console-log.rst b/doc/console-log.rst
index 9802418..ca9ec3f 100644
--- a/doc/console-log.rst
+++ b/doc/console-log.rst
@@ -9,7 +9,19 @@ of the memory console, we're pretty keen on keeping its location
static.
Events are logged in the following format:
-[timebase,log_level] message
+``[S.T,L] message`` where:
+
+:S: Seconds, which is the timebase divided by 512,000,000.
+ **NOTE**: The timebase is reset during boot, so zero is a few dozen
+ messages into skiboot booting.
+:T: Remaining Timebase. It is *NOT* a fraction of a second, but rather
+ timebase%512000000
+:L: Log level (see below)
+
+Example: ::
+
+ [ 2.223466021,5] FLASH: Found system flash: Macronix MXxxL51235F id:0
+ [ 3.494892796,7] FLASH: flash subpartition eyecatcher CAPP
You should use the new prlog() call for any log message and set the
log level/priority appropriately.
@@ -19,7 +31,8 @@ with prlog() calls.
See timebase.h for full timebase explanation.
-Log level from skiboot.h:
+Log levels
+----------
=============== ==========
Define Value
@@ -61,5 +74,3 @@ still only PR_NOTICE through drivers.
People who write something like 0x1f will get a very quiet boot indeed.
-
-