diff options
-rw-r--r-- | tools/perf/arch/x86/tests/intel-cqm.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-inject.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-kvm.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-record.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-report.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-script.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-stat.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-top.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-trace.c | 1 | ||||
-rw-r--r-- | tools/perf/perf.c | 1 | ||||
-rw-r--r-- | tools/perf/trace/beauty/signum.c | 1 | ||||
-rw-r--r-- | tools/perf/ui/gtk/annotate.c | 1 | ||||
-rw-r--r-- | tools/perf/ui/gtk/hists.c | 1 | ||||
-rw-r--r-- | tools/perf/util/evlist.c | 1 | ||||
-rw-r--r-- | tools/perf/util/evlist.h | 1 | ||||
-rw-r--r-- | tools/perf/util/util.c | 1 | ||||
-rw-r--r-- | tools/perf/util/util.h | 1 |
17 files changed, 16 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/tests/intel-cqm.c b/tools/perf/arch/x86/tests/intel-cqm.c index 03c62eb0106b..befde6708c33 100644 --- a/tools/perf/arch/x86/tests/intel-cqm.c +++ b/tools/perf/arch/x86/tests/intel-cqm.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include "evsel.h" | 6 | #include "evsel.h" |
7 | #include "arch-tests.h" | 7 | #include "arch-tests.h" |
8 | 8 | ||
9 | #include <signal.h> | ||
9 | #include <sys/mman.h> | 10 | #include <sys/mman.h> |
10 | #include <errno.h> | 11 | #include <errno.h> |
11 | #include <string.h> | 12 | #include <string.h> |
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c index b102ee702aa1..8bd791cca008 100644 --- a/tools/perf/builtin-inject.c +++ b/tools/perf/builtin-inject.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <linux/list.h> | 24 | #include <linux/list.h> |
25 | #include <errno.h> | 25 | #include <errno.h> |
26 | #include <signal.h> | ||
26 | 27 | ||
27 | struct perf_inject { | 28 | struct perf_inject { |
28 | struct perf_tool tool; | 29 | struct perf_tool tool; |
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 4002277475cf..2b1732cfc0be 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin-kvm.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <inttypes.h> | 31 | #include <inttypes.h> |
32 | #include <termios.h> | 32 | #include <termios.h> |
33 | #include <semaphore.h> | 33 | #include <semaphore.h> |
34 | #include <signal.h> | ||
34 | #include <pthread.h> | 35 | #include <pthread.h> |
35 | #include <math.h> | 36 | #include <math.h> |
36 | 37 | ||
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 70340ff2008d..e1b937f23894 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <inttypes.h> | 44 | #include <inttypes.h> |
45 | #include <unistd.h> | 45 | #include <unistd.h> |
46 | #include <sched.h> | 46 | #include <sched.h> |
47 | #include <signal.h> | ||
47 | #include <sys/mman.h> | 48 | #include <sys/mman.h> |
48 | #include <asm/bug.h> | 49 | #include <asm/bug.h> |
49 | #include <linux/time64.h> | 50 | #include <linux/time64.h> |
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 5bbd4b2ef6d2..b8f2dd322496 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <errno.h> | 42 | #include <errno.h> |
43 | #include <inttypes.h> | 43 | #include <inttypes.h> |
44 | #include <regex.h> | 44 | #include <regex.h> |
45 | #include <signal.h> | ||
45 | #include <linux/bitmap.h> | 46 | #include <linux/bitmap.h> |
46 | #include <linux/stringify.h> | 47 | #include <linux/stringify.h> |
47 | 48 | ||
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index fe1dcd4f2c6d..76a88bdeebe4 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <dirent.h> | 35 | #include <dirent.h> |
36 | #include <errno.h> | 36 | #include <errno.h> |
37 | #include <inttypes.h> | 37 | #include <inttypes.h> |
38 | #include <signal.h> | ||
38 | 39 | ||
39 | #include "sane_ctype.h" | 40 | #include "sane_ctype.h" |
40 | 41 | ||
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index be2cd537c537..e3837febb4ff 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c | |||
@@ -70,6 +70,7 @@ | |||
70 | #include <linux/time64.h> | 70 | #include <linux/time64.h> |
71 | #include <api/fs/fs.h> | 71 | #include <api/fs/fs.h> |
72 | #include <errno.h> | 72 | #include <errno.h> |
73 | #include <signal.h> | ||
73 | #include <stdlib.h> | 74 | #include <stdlib.h> |
74 | #include <sys/prctl.h> | 75 | #include <sys/prctl.h> |
75 | #include <inttypes.h> | 76 | #include <inttypes.h> |
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 47984a838b73..7ab42b8311a1 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -59,6 +59,7 @@ | |||
59 | #include <errno.h> | 59 | #include <errno.h> |
60 | #include <time.h> | 60 | #include <time.h> |
61 | #include <sched.h> | 61 | #include <sched.h> |
62 | #include <signal.h> | ||
62 | 63 | ||
63 | #include <sys/syscall.h> | 64 | #include <sys/syscall.h> |
64 | #include <sys/ioctl.h> | 65 | #include <sys/ioctl.h> |
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index d1c8cdc6788b..ef3613f2fe6a 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <errno.h> | 45 | #include <errno.h> |
46 | #include <inttypes.h> | 46 | #include <inttypes.h> |
47 | #include <libaudit.h> /* FIXME: Still needed for audit_errno_to_name */ | 47 | #include <libaudit.h> /* FIXME: Still needed for audit_errno_to_name */ |
48 | #include <signal.h> | ||
48 | #include <stdlib.h> | 49 | #include <stdlib.h> |
49 | #include <string.h> | 50 | #include <string.h> |
50 | #include <linux/err.h> | 51 | #include <linux/err.h> |
diff --git a/tools/perf/perf.c b/tools/perf/perf.c index 9ccccb0fbd8f..356588982d08 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <api/fs/tracing_path.h> | 21 | #include <api/fs/tracing_path.h> |
22 | #include <errno.h> | 22 | #include <errno.h> |
23 | #include <pthread.h> | 23 | #include <pthread.h> |
24 | #include <signal.h> | ||
24 | #include <stdlib.h> | 25 | #include <stdlib.h> |
25 | #include <time.h> | 26 | #include <time.h> |
26 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
diff --git a/tools/perf/trace/beauty/signum.c b/tools/perf/trace/beauty/signum.c index d3b0b1fab077..fde8f2fc6558 100644 --- a/tools/perf/trace/beauty/signum.c +++ b/tools/perf/trace/beauty/signum.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #include <signal.h> | ||
1 | 2 | ||
2 | static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg) | 3 | static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg) |
3 | { | 4 | { |
diff --git a/tools/perf/ui/gtk/annotate.c b/tools/perf/ui/gtk/annotate.c index 71359b898b67..e99ba86158d2 100644 --- a/tools/perf/ui/gtk/annotate.c +++ b/tools/perf/ui/gtk/annotate.c | |||
@@ -4,6 +4,7 @@ | |||
4 | #include "util/evsel.h" | 4 | #include "util/evsel.h" |
5 | #include "ui/helpline.h" | 5 | #include "ui/helpline.h" |
6 | #include <inttypes.h> | 6 | #include <inttypes.h> |
7 | #include <signal.h> | ||
7 | 8 | ||
8 | enum { | 9 | enum { |
9 | ANN_COL__PERCENT, | 10 | ANN_COL__PERCENT, |
diff --git a/tools/perf/ui/gtk/hists.c b/tools/perf/ui/gtk/hists.c index c42de4dcc055..e24f83957705 100644 --- a/tools/perf/ui/gtk/hists.c +++ b/tools/perf/ui/gtk/hists.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include "../helpline.h" | 6 | #include "../helpline.h" |
7 | #include "../string2.h" | 7 | #include "../string2.h" |
8 | #include "gtk.h" | 8 | #include "gtk.h" |
9 | #include <signal.h> | ||
9 | 10 | ||
10 | #define MAX_COLUMNS 32 | 11 | #define MAX_COLUMNS 32 |
11 | 12 | ||
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index f74ea2e55fde..8d36cf345375 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include "evsel.h" | 18 | #include "evsel.h" |
19 | #include "debug.h" | 19 | #include "debug.h" |
20 | #include "asm/bug.h" | 20 | #include "asm/bug.h" |
21 | #include <signal.h> | ||
21 | #include <unistd.h> | 22 | #include <unistd.h> |
22 | 23 | ||
23 | #include "parse-events.h" | 24 | #include "parse-events.h" |
diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h index 3fed4fb2e866..94cea4398a13 100644 --- a/tools/perf/util/evlist.h +++ b/tools/perf/util/evlist.h | |||
@@ -11,6 +11,7 @@ | |||
11 | #include "evsel.h" | 11 | #include "evsel.h" |
12 | #include "util.h" | 12 | #include "util.h" |
13 | #include "auxtrace.h" | 13 | #include "auxtrace.h" |
14 | #include <signal.h> | ||
14 | #include <unistd.h> | 15 | #include <unistd.h> |
15 | 16 | ||
16 | struct pollfd; | 17 | struct pollfd; |
diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c index b9716bc6e8fd..bc42c459f586 100644 --- a/tools/perf/util/util.c +++ b/tools/perf/util/util.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #endif | 9 | #endif |
10 | #include <dirent.h> | 10 | #include <dirent.h> |
11 | #include <inttypes.h> | 11 | #include <inttypes.h> |
12 | #include <signal.h> | ||
12 | #include <stdio.h> | 13 | #include <stdio.h> |
13 | #include <stdlib.h> | 14 | #include <stdlib.h> |
14 | #include <string.h> | 15 | #include <string.h> |
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 2a1166f8bb37..6bf141647403 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <sys/types.h> | 22 | #include <sys/types.h> |
23 | #include <sys/time.h> | 23 | #include <sys/time.h> |
24 | #include <time.h> | 24 | #include <time.h> |
25 | #include <signal.h> | ||
26 | #include <assert.h> | 25 | #include <assert.h> |
27 | #include <utime.h> | 26 | #include <utime.h> |
28 | #include <sys/wait.h> | 27 | #include <sys/wait.h> |