hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/tools/perf/scripts/perl/rwtop.pl
....@@ -1,6 +1,6 @@
11 #!/usr/bin/perl -w
2
+# SPDX-License-Identifier: GPL-2.0-only
23 # (c) 2010, Tom Zanussi <tzanussi@gmail.com>
3
-# Licensed under the terms of the GNU GPL License version 2
44
55 # read/write top
66 #
....@@ -35,7 +35,7 @@
3535 sub syscalls::sys_exit_read
3636 {
3737 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
38
- $common_pid, $common_comm,
38
+ $common_pid, $common_comm, $common_callchain,
3939 $nr, $ret) = @_;
4040
4141 print_check();
....@@ -53,7 +53,7 @@
5353 sub syscalls::sys_enter_read
5454 {
5555 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
56
- $common_pid, $common_comm,
56
+ $common_pid, $common_comm, $common_callchain,
5757 $nr, $fd, $buf, $count) = @_;
5858
5959 print_check();
....@@ -66,7 +66,7 @@
6666 sub syscalls::sys_exit_write
6767 {
6868 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
69
- $common_pid, $common_comm,
69
+ $common_pid, $common_comm, $common_callchain,
7070 $nr, $ret) = @_;
7171
7272 print_check();
....@@ -79,7 +79,7 @@
7979 sub syscalls::sys_enter_write
8080 {
8181 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
82
- $common_pid, $common_comm,
82
+ $common_pid, $common_comm, $common_callchain,
8383 $nr, $fd, $buf, $count) = @_;
8484
8585 print_check();
....@@ -197,7 +197,7 @@
197197 sub trace_unhandled
198198 {
199199 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
200
- $common_pid, $common_comm) = @_;
200
+ $common_pid, $common_comm, $common_callchain) = @_;
201201
202202 $unhandled{$event_name}++;
203203 }