Lines Matching refs:fd
31 $common_pid, $common_comm, $common_callchain, $nr, $fd, $buf, $count) = @_;
34 $reads{$fd}{bytes_requested} += $count;
35 $reads{$fd}{total_reads}++;
42 $common_pid, $common_comm, $common_callchain, $nr, $fd, $buf, $count) = @_;
45 $writes{$fd}{bytes_written} += $count;
46 $writes{$fd}{total_writes}++;
54 printf("%6s %10s %10s\n", "fd", "# reads", "bytes_requested");
57 foreach my $fd (sort {$reads{$b}{bytes_requested} <=>
59 my $total_reads = $reads{$fd}{total_reads};
60 my $bytes_requested = $reads{$fd}{bytes_requested};
61 printf("%6u %10u %10u\n", $fd, $total_reads, $bytes_requested);
66 printf("%6s %10s %10s\n", "fd", "# writes", "bytes_written");
69 foreach my $fd (sort {$writes{$b}{bytes_written} <=>
71 my $total_writes = $writes{$fd}{total_writes};
72 my $bytes_written = $writes{$fd}{bytes_written};
73 printf("%6u %10u %10u\n", $fd, $total_writes, $bytes_written);