Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114265
b: refs/heads/master
c: 8bd9890
h: refs/heads/master
i:
  114263: 61893fd
v: v3
  • Loading branch information
Arnaud Patard authored and Arjan van de Ven committed Oct 12, 2008
1 parent ecd4e37 commit 43f4d36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 709790a9aafe424785dd02bcb31b0dddb4ef59e4
refs/heads/master: 8bd9890e94627bc1ef372085e64dda7f9e307e82
8 changes: 4 additions & 4 deletions trunk/scripts/bootgraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 43f4d36

Please sign in to comment.