mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
docs/dyndbg: update examples \012 to \n
commit 47ea6f99d0 ("dyndbg: use ESCAPE_SPACE for cat control")
changed the control-file to display format strings with "\n" rather
than "\012". Update the docs to match the new reality.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Tested-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260502-dyndbg-doc-v1-1-67cc4a93a77e@gmail.com>
This commit is contained in:
parent
3c2edee3a4
commit
c76934b3f4
|
|
@ -38,12 +38,12 @@ You can view the currently configured behaviour in the *prdbg* catalog::
|
|||
|
||||
:#> head -n7 /proc/dynamic_debug/control
|
||||
# filename:lineno [module]function flags format
|
||||
init/main.c:1179 [main]initcall_blacklist =_ "blacklisting initcall %s\012
|
||||
init/main.c:1218 [main]initcall_blacklisted =_ "initcall %s blacklisted\012"
|
||||
init/main.c:1424 [main]run_init_process =_ " with arguments:\012"
|
||||
init/main.c:1426 [main]run_init_process =_ " %s\012"
|
||||
init/main.c:1427 [main]run_init_process =_ " with environment:\012"
|
||||
init/main.c:1429 [main]run_init_process =_ " %s\012"
|
||||
init/main.c:1179 [main]initcall_blacklist =_ "blacklisting initcall %s\n"
|
||||
init/main.c:1218 [main]initcall_blacklisted =_ "initcall %s blacklisted\n"
|
||||
init/main.c:1424 [main]run_init_process =_ " with arguments:\n"
|
||||
init/main.c:1426 [main]run_init_process =_ " %s\n"
|
||||
init/main.c:1427 [main]run_init_process =_ " with environment:\n"
|
||||
init/main.c:1429 [main]run_init_process =_ " %s\n"
|
||||
|
||||
The 3rd space-delimited column shows the current flags, preceded by
|
||||
a ``=`` for easy use with grep/cut. ``=p`` shows enabled callsites.
|
||||
|
|
@ -59,10 +59,10 @@ query/commands to the control file. Example::
|
|||
|
||||
:#> ddcmd '-p; module main func run* +p'
|
||||
:#> grep =p /proc/dynamic_debug/control
|
||||
init/main.c:1424 [main]run_init_process =p " with arguments:\012"
|
||||
init/main.c:1426 [main]run_init_process =p " %s\012"
|
||||
init/main.c:1427 [main]run_init_process =p " with environment:\012"
|
||||
init/main.c:1429 [main]run_init_process =p " %s\012"
|
||||
init/main.c:1424 [main]run_init_process =p " with arguments:\n"
|
||||
init/main.c:1426 [main]run_init_process =p " %s\n"
|
||||
init/main.c:1427 [main]run_init_process =p " with environment:\n"
|
||||
init/main.c:1429 [main]run_init_process =p " %s\n"
|
||||
|
||||
Error messages go to console/syslog::
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user