From 43f4d3624326adda2cf453bd588f688aa257d772 Mon Sep 17 00:00:00 2001 From: Arnaud Patard Date: Fri, 19 Sep 2008 20:16:25 -0700 Subject: [PATCH] --- yaml --- r: 114265 b: refs/heads/master c: 8bd9890e94627bc1ef372085e64dda7f9e307e82 h: refs/heads/master i: 114263: 61893fde961f78c18f9d1cee54b2c9443701d0f7 v: v3 --- [refs] | 2 +- trunk/scripts/bootgraph.pl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 461a744e7b4b..be956d1fd3a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 709790a9aafe424785dd02bcb31b0dddb4ef59e4 +refs/heads/master: 8bd9890e94627bc1ef372085e64dda7f9e307e82 diff --git a/trunk/scripts/bootgraph.pl b/trunk/scripts/bootgraph.pl index 4e5f4ab2ed7f..2243353fe55d 100644 --- a/trunk/scripts/bootgraph.pl +++ b/trunk/scripts/bootgraph.pl @@ -46,7 +46,7 @@ my $count = 0; while (<>) { my $line = $_; - if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z\_]+)\+/) { + if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_]+)\+/) { my $func = $2; if ($done == 0) { $start{$func} = $1; @@ -66,7 +66,7 @@ $count = $count + 1; } - if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z\_]+)\+.*returned/) { + if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_]+)\+.*returned/) { if ($done == 0) { $end{$2} = $1; $maxtime = $1; @@ -81,8 +81,8 @@ } if ($count == 0) { - print "No data found in the dmesg. Make sure CONFIG_PRINTK_TIME is enabled and\n"; - print "that initcall_debug is passed on the kernel command line.\n\n"; + print "No data found in the dmesg. Make sure that 'printk.time=1' and\n"; + print "'initcall_debug' are passed on the kernel command line.\n\n"; print "Usage: \n"; print " dmesg | perl scripts/bootgraph.pl > output.svg\n\n"; exit;