]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Collect "isolated" job sightings occurring outside the job's entering/leaving
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 6 Sep 2010 04:08:28 +0000 (22:08 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 6 Sep 2010 04:08:28 +0000 (22:08 -0600)
async call brackets.

scripts/trace-master.pl

index af54e6c6dd6da90d78d5f1830ed17c363cdfd96b..5653a4bf9a53993b862c98a02076b86ea8505ecb 100755 (executable)
@@ -35,6 +35,9 @@ while (<STDIN>) {
                &enterJob($inside);
                &updateJob($inside, $entering) if defined $entering;
                undef $entering;
+       } 
+       elsif (!$inside && /\b(?:async|job|icapx)(\d+)\b/o) {
+               updateJob($1, "$_\n"); # isolated line
        }
 
        next unless $inside;