# failed system call counts # (c) 2010, Tom Zanussi # Licensed under the terms of the GNU GPL License version 2 # # Displays system-wide failed system call totals # If a [comm] arg is specified, only syscalls called by [comm] are displayed. use lib "$ENV{'PERF_EXEC_PATH'}/scripts/perl/Perf-Trace-Util/lib"; use lib "./Perf-Trace-Util/lib"; use Perf::Trace::Core; use Perf::Trace::Context; use Perf::Trace::Util; my $for_comm = shift; my %failed_syscalls; sub raw_syscalls::sys_exit { my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, $common_pid, $common_comm, $id, $ret) = @_; if ($ret < 0) { $failed_syscalls{$common_comm}++; } } sub syscalls::sys_exit { raw_syscalls::sys_exit(@_) } sub trace_end { printf("\nfailed syscalls by comm:\n\n"); printf("%-20s %10s\n", "comm", "# errors"); printf("%-20s %6s %10s\n", "--------------------", "----------"); foreach my $comm (sort {$failed_syscalls{$b} <=> $failed_syscalls{$a}} keys %failed_syscalls) { next if ($for_comm && $comm ne $for_comm); printf("%-20s %10s\n", $comm, $failed_syscalls{$comm}); } } elected'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/mon
diff options
context:
space:
mode:
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>2017-02-06 10:04:28 -0600
committerNicholas Bellinger <nab@linux-iscsi.org>2017-02-08 10:51:24 -0800
commitb22bc27868e8c11fe3f00937a341b44f80b50364 (patch)
tree8e12f041bfab895abb587d1fe16c84953329e0cd /drivers/usb/mon
parent9b2792c3da1e80f2d460167d319302a24c9ca2b7 (diff)
ibmvscsis: Add SGL limit
This patch adds internal LIO sgl limit since the driver already sets a max transfer limit on transport layer of 1MB to the client. Cc: stable@vger.kernel.org Tested-by: Steven Royer <seroyer@linux.vnet.ibm.com> Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/usb/mon')