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.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2017-04-19 15:49:18 -03:00
parent 3dfed91026
commit 9607ad3a63
17 changed files with 16 additions and 1 deletions

View 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>

View File

@ -23,6 +23,7 @@
#include <linux/list.h>
#include <errno.h>
#include <signal.h>
struct perf_inject {
struct perf_tool tool;

View File

@ -31,6 +31,7 @@
#include <inttypes.h>
#include <termios.h>
#include <semaphore.h>
#include <signal.h>
#include <pthread.h>
#include <math.h>

View 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>

View 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>

View File

@ -35,6 +35,7 @@
#include <dirent.h>
#include <errno.h>
#include <inttypes.h>
#include <signal.h>
#include "sane_ctype.h"

View 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>

View 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>

View 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>

View 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>

View File

@ -1,3 +1,4 @@
#include <signal.h>
static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg)
{

View File

@ -4,6 +4,7 @@
#include "util/evsel.h"
#include "ui/helpline.h"
#include <inttypes.h>
#include <signal.h>
enum {
ANN_COL__PERCENT,

View File

@ -6,6 +6,7 @@
#include "../helpline.h"
#include "../string2.h"
#include "gtk.h"
#include <signal.h>
#define MAX_COLUMNS 32

View 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"

View File

@ -11,6 +11,7 @@
#include "evsel.h"
#include "util.h"
#include "auxtrace.h"
#include <signal.h>
#include <unistd.h>
struct pollfd;

View File

@ -9,6 +9,7 @@
#endif
#include <dirent.h>
#include <inttypes.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View 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>