X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c19a107a096f503e67217fb178fa98eb742ceb4d..a21b003b5b98e872795341d7f8c756938e10b0d0:/docs/bin/extract_logs_hierarchy.pl diff --git a/docs/bin/extract_logs_hierarchy.pl b/docs/bin/extract_logs_hierarchy.pl index 85083d2c50..40c74f8760 100755 --- a/docs/bin/extract_logs_hierarchy.pl +++ b/docs/bin/extract_logs_hierarchy.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. +# Copyright (c) 2008-2023. The SimGrid Team. All rights reserved. # This program is free software; you can redistribute it and/or modify it # under the terms of the license (GNU LGPL) which comes with this package. @@ -22,7 +22,7 @@ print "This is the list of all categories existing in the SimGrid implementation my %ancestor; my %desc; # $ancestor{"toto"} is the ancestor of the toto channel as declared by XBT_LOG_NEW_SUBCATEGORY and -# XBT_LOG_NEW_DEFAULT_SUBCATEGORY ie, when the channel toto is initialized (does not work under windows) +# XBT_LOG_NEW_DEFAULT_SUBCATEGORY ie, when the channel toto is initialized # $desc{"toto"} is its description @@ -83,7 +83,7 @@ my $path = $ARGV[0] // ".."; open FILES, "find $path/src/ $path/tools/ $path/include/ -name '*.c' -o -name '*.cpp' |" || die "Cannot search for the source file names: $!\n"; while (my $file=) { chomp $file; - parse_file($file); + parse_file($file); } parse_file("$path/include/xbt/sysdep.h"); close FILES; @@ -94,7 +94,7 @@ my %used; sub display_subtree { my $name=shift; my $indent=shift; - + $used{$name} = 1; unless ($name eq "XBT_LOG_ROOT_CAT") { # do not display the root print "$indent - $name: ".($desc{$name}|| "(undocumented)")."\n";