9
#cdir:adjust_nested_auth_pins on [dir 163 /foo/ rep@13 | child] count now 0 + 1
11
if (/adjust_nested_auth_pins/) {
12
my ($what) = / (\w+)\]/;
14
$hist{$what} .= "$l: $_"
15
if defined $pin{$what};
18
# cinode:auth_pin on inode [1000000002625 /gnu/blah_client_created. 0x89b7700] count now 1 + 0
20
elsif (/auth_pin / && !/waiting/) {
21
#my ($what) = /\[(\w+ \w+) /;
22
my ($what) = / (\w+)\]/;
24
#print "$_ add_waiter $c $what\n";
26
$hist{$what} .= "$l: $_";
27
push( @pins, $what ) unless grep {$_ eq $what} @pins;
30
# cinode:auth_unpin on inode [1000000002625 (dangling) 0x89b7700] count now 0 + 0
32
elsif (/auth_unpin/) {
33
#my ($what) = /\[(\w+ \w+) /;# / on (.*\])/;
34
my ($what) = / (\w+)\]/;
37
$hist{$what} .= "$l: $_";
38
unless ($pin{$what}) {
41
@pins = grep {$_ ne $what} @pins;
47
for my $what (@pins) {
48
print "---- count $pin{$what} on $what