perf tools: Add signal.h to places using its definitions

And remove it from util.h, disentangling it a bit more.

Link: http://lkml.kernel.org/n/tip-2zg9s5nx90yde64j3g4z2uhk@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 3dfed910
......@@ -6,6 +6,7 @@
#include "evsel.h"
#include "arch-tests.h"
#include <signal.h>
#include <sys/mman.h>
#include <errno.h>
#include <string.h>
......
......@@ -23,6 +23,7 @@
#include <linux/list.h>
#include <errno.h>
#include <signal.h>
struct perf_inject {
struct perf_tool tool;
......
......@@ -31,6 +31,7 @@
#include <inttypes.h>
#include <termios.h>
#include <semaphore.h>
#include <signal.h>
#include <pthread.h>
#include <math.h>
......
......@@ -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>
......
......@@ -42,6 +42,7 @@
#include <errno.h>
#include <inttypes.h>
#include <regex.h>
#include <signal.h>
#include <linux/bitmap.h>
#include <linux/stringify.h>
......
......@@ -35,6 +35,7 @@
#include <dirent.h>
#include <errno.h>
#include <inttypes.h>
#include <signal.h>
#include "sane_ctype.h"
......
......@@ -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>
......
......@@ -59,6 +59,7 @@
#include <errno.h>
#include <time.h>
#include <sched.h>
#include <signal.h>
#include <sys/syscall.h>
#include <sys/ioctl.h>
......
......@@ -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>
......
......@@ -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>
......
#include <signal.h>
static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg)
{
......
......@@ -4,6 +4,7 @@
#include "util/evsel.h"
#include "ui/helpline.h"
#include <inttypes.h>
#include <signal.h>
enum {
ANN_COL__PERCENT,
......
......@@ -6,6 +6,7 @@
#include "../helpline.h"
#include "../string2.h"
#include "gtk.h"
#include <signal.h>
#define MAX_COLUMNS 32
......
......@@ -18,6 +18,7 @@
#include "evsel.h"
#include "debug.h"
#include "asm/bug.h"
#include <signal.h>
#include <unistd.h>
#include "parse-events.h"
......
......@@ -11,6 +11,7 @@
#include "evsel.h"
#include "util.h"
#include "auxtrace.h"
#include <signal.h>
#include <unistd.h>
struct pollfd;
......
......@@ -9,6 +9,7 @@
#endif
#include <dirent.h>
#include <inttypes.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment