Skip to content

Commit 4c134c2

Browse files
btw616jmberg-intel
authored andcommitted
um: Indent time-travel help messages
Indent the help messages for time-travel to make them consistent with the format of other help messages. Signed-off-by: Tiwei Bie <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 725e9d8 commit 4c134c2

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

arch/um/kernel/time.c

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -986,26 +986,26 @@ static int setup_time_travel(char *str)
986986
__setup("time-travel", setup_time_travel);
987987
__uml_help(setup_time_travel,
988988
"time-travel\n"
989-
"This option just enables basic time travel mode, in which the clock/timers\n"
990-
"inside the UML instance skip forward when there's nothing to do, rather than\n"
991-
"waiting for real time to elapse. However, instance CPU speed is limited by\n"
992-
"the real CPU speed, so e.g. a 10ms timer will always fire after ~10ms wall\n"
993-
"clock (but quicker when there's nothing to do).\n"
989+
" This option just enables basic time travel mode, in which the clock/timers\n"
990+
" inside the UML instance skip forward when there's nothing to do, rather than\n"
991+
" waiting for real time to elapse. However, instance CPU speed is limited by\n"
992+
" the real CPU speed, so e.g. a 10ms timer will always fire after ~10ms wall\n"
993+
" clock (but quicker when there's nothing to do).\n"
994994
"\n"
995995
"time-travel=inf-cpu\n"
996-
"This enables time travel mode with infinite processing power, in which there\n"
997-
"are no wall clock timers, and any CPU processing happens - as seen from the\n"
998-
"guest - instantly. This can be useful for accurate simulation regardless of\n"
999-
"debug overhead, physical CPU speed, etc. but is somewhat dangerous as it can\n"
1000-
"easily lead to getting stuck (e.g. if anything in the system busy loops).\n"
996+
" This enables time travel mode with infinite processing power, in which there\n"
997+
" are no wall clock timers, and any CPU processing happens - as seen from the\n"
998+
" guest - instantly. This can be useful for accurate simulation regardless of\n"
999+
" debug overhead, physical CPU speed, etc. but is somewhat dangerous as it can\n"
1000+
" easily lead to getting stuck (e.g. if anything in the system busy loops).\n"
10011001
"\n"
10021002
"time-travel=ext:[ID:]/path/to/socket\n"
1003-
"This enables time travel mode similar to =inf-cpu, except the system will\n"
1004-
"use the given socket to coordinate with a central scheduler, in order to\n"
1005-
"have more than one system simultaneously be on simulated time. The virtio\n"
1006-
"driver code in UML knows about this so you can also simulate networks and\n"
1007-
"devices using it, assuming the device has the right capabilities.\n"
1008-
"The optional ID is a 64-bit integer that's sent to the central scheduler.\n\n");
1003+
" This enables time travel mode similar to =inf-cpu, except the system will\n"
1004+
" use the given socket to coordinate with a central scheduler, in order to\n"
1005+
" have more than one system simultaneously be on simulated time. The virtio\n"
1006+
" driver code in UML knows about this so you can also simulate networks and\n"
1007+
" devices using it, assuming the device has the right capabilities.\n"
1008+
" The optional ID is a 64-bit integer that's sent to the central scheduler.\n\n");
10091009

10101010
static int setup_time_travel_start(char *str)
10111011
{
@@ -1022,8 +1022,8 @@ static int setup_time_travel_start(char *str)
10221022
__setup("time-travel-start=", setup_time_travel_start);
10231023
__uml_help(setup_time_travel_start,
10241024
"time-travel-start=<nanoseconds>\n"
1025-
"Configure the UML instance's wall clock to start at this value rather than\n"
1026-
"the host's wall clock at the time of UML boot.\n\n");
1025+
" Configure the UML instance's wall clock to start at this value rather than\n"
1026+
" the host's wall clock at the time of UML boot.\n\n");
10271027

10281028
static struct kobject *bc_time_kobject;
10291029

0 commit comments

Comments
 (0)