]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
perf tools: Add signal.h to places using its definitions
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 18:49:18 +0000 (15:49 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Apr 2017 16:22:43 +0000 (13:22 -0300)
And remove it from util.h, disentangling it a bit more.

Link: http://lkml.kernel.org/n/tip-2zg9s5nx90yde64j3g4z2uhk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
17 files changed:
tools/perf/arch/x86/tests/intel-cqm.c
tools/perf/builtin-inject.c
tools/perf/builtin-kvm.c
tools/perf/builtin-record.c
tools/perf/builtin-report.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/perf.c
tools/perf/trace/beauty/signum.c
tools/perf/ui/gtk/annotate.c
tools/perf/ui/gtk/hists.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h
tools/perf/util/util.c
tools/perf/util/util.h

index 03c62eb0106bb02dda549a39633f3118856e2031..befde6708c335d86adaad61db996c86be5ffbdf2 100644 (file)
@@ -6,6 +6,7 @@
 #include "evsel.h"
 #include "arch-tests.h"
 
+#include <signal.h>
 #include <sys/mman.h>
 #include <errno.h>
 #include <string.h>
index b102ee702aa1616a79ebd58cd9dcda82ef5846c3..8bd791cca008252300c33118effad8af7c0a2f7a 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/list.h>
 #include <errno.h>
+#include <signal.h>
 
 struct perf_inject {
        struct perf_tool        tool;
index 4002277475cf96d4514c75a93e4c88f4e5fdf29b..2b1732cfc0beb0b8f4d3a99865f16a7d8a3212fe 100644 (file)
@@ -31,6 +31,7 @@
 #include <inttypes.h>
 #include <termios.h>
 #include <semaphore.h>
+#include <signal.h>
 #include <pthread.h>
 #include <math.h>
 
index 70340ff2008d4d13dcd313f333b4cbc12521c950..e1b937f238943065046eb6539f23769d1231c304 100644 (file)
@@ -44,6 +44,7 @@
 #include <inttypes.h>
 #include <unistd.h>
 #include <sched.h>
+#include <signal.h>
 #include <sys/mman.h>
 #include <asm/bug.h>
 #include <linux/time64.h>
index 5bbd4b2ef6d289f08da46c80f08a9428298a6833..b8f2dd322496d8474bc4328cec06ddaefec91a7e 100644 (file)
@@ -42,6 +42,7 @@
 #include <errno.h>
 #include <inttypes.h>
 #include <regex.h>
+#include <signal.h>
 #include <linux/bitmap.h>
 #include <linux/stringify.h>
 
index fe1dcd4f2c6d41b18e94a8d13b6efd9c1c9d72c4..76a88bdeebe47f7b86ff3f8d4c8bfc1e9c0cbfa3 100644 (file)
@@ -35,6 +35,7 @@
 #include <dirent.h>
 #include <errno.h>
 #include <inttypes.h>
+#include <signal.h>
 
 #include "sane_ctype.h"
 
index be2cd537c537d9925cc20a29d66229b08da08b10..e3837febb4ffb796e55fdf3349ad95de3218e92d 100644 (file)
@@ -70,6 +70,7 @@
 #include <linux/time64.h>
 #include <api/fs/fs.h>
 #include <errno.h>
+#include <signal.h>
 #include <stdlib.h>
 #include <sys/prctl.h>
 #include <inttypes.h>
index 47984a838b7335dae05cf75f52ee54e4e624f68e..7ab42b8311a10c18f1be6241337fe15097af23a2 100644 (file)
@@ -59,6 +59,7 @@
 #include <errno.h>
 #include <time.h>
 #include <sched.h>
+#include <signal.h>
 
 #include <sys/syscall.h>
 #include <sys/ioctl.h>
index d1c8cdc6788b4003ca40129eaf6c339240d2643a..ef3613f2fe6a6b0981adab9c8410af98f7bd1fee 100644 (file)
@@ -45,6 +45,7 @@
 #include <errno.h>
 #include <inttypes.h>
 #include <libaudit.h> /* FIXME: Still needed for audit_errno_to_name */
+#include <signal.h>
 #include <stdlib.h>
 #include <string.h>
 #include <linux/err.h>
index 9ccccb0fbd8fbe06db925005217dbb38d31900f5..356588982d083c992d85a1eee1df51528501aab8 100644 (file)
@@ -21,6 +21,7 @@
 #include <api/fs/tracing_path.h>
 #include <errno.h>
 #include <pthread.h>
+#include <signal.h>
 #include <stdlib.h>
 #include <time.h>
 #include <linux/kernel.h>
index d3b0b1fab077a79f0e0db4f2880bff109ab775eb..fde8f2fc65589d54a457cabc8604b7389c5a985b 100644 (file)
@@ -1,3 +1,4 @@
+#include <signal.h>
 
 static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg)
 {
index 71359b898b67350049910b1256992e4973de0dc1..e99ba86158d29b9ab637e66bac3182f7f429d88f 100644 (file)
@@ -4,6 +4,7 @@
 #include "util/evsel.h"
 #include "ui/helpline.h"
 #include <inttypes.h>
+#include <signal.h>
 
 enum {
        ANN_COL__PERCENT,
index c42de4dcc055f0eb8cf6eccc773c4d1280ca0d74..e24f83957705529bb1e62eda964840f4798fe430 100644 (file)
@@ -6,6 +6,7 @@
 #include "../helpline.h"
 #include "../string2.h"
 #include "gtk.h"
+#include <signal.h>
 
 #define MAX_COLUMNS                    32
 
index f74ea2e55fde893ef579733108fc7801f820d504..8d36cf345375c4027f7e94b5fcafe16885cac1bc 100644 (file)
@@ -18,6 +18,7 @@
 #include "evsel.h"
 #include "debug.h"
 #include "asm/bug.h"
+#include <signal.h>
 #include <unistd.h>
 
 #include "parse-events.h"
index 3fed4fb2e8663c33d0c19c6f0e5cd622e789e048..94cea4398a13aeefb1eff28fdd2defa3194209f0 100644 (file)
@@ -11,6 +11,7 @@
 #include "evsel.h"
 #include "util.h"
 #include "auxtrace.h"
+#include <signal.h>
 #include <unistd.h>
 
 struct pollfd;
index b9716bc6e8fd64f1715b684aab0297f681fff48f..bc42c459f586d008c16c74a561f31c19a12cfe3b 100644 (file)
@@ -9,6 +9,7 @@
 #endif
 #include <dirent.h>
 #include <inttypes.h>
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 2a1166f8bb378cdceaabc8ad405be3d0be6967de..6bf141647403e66b97169617f9e18331a5c7f115 100644 (file)
@@ -22,7 +22,6 @@
 #include <sys/types.h>
 #include <sys/time.h>
 #include <time.h>
-#include <signal.h>
 #include <assert.h>
 #include <utime.h>
 #include <sys/wait.h>