summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-03-23 08:01:39 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-03-25 15:58:08 +0300
commit463a7d5a9e6fd3f3b592e09c936d2d07ee0b65b9 (patch)
treeb4808991829996d5f135d1c1faa9d9a2c4a33414 /tools/perf
parent405e07010d375d2123ec9d2e22197490eb698f74 (diff)
downloadlinux-463a7d5a9e6fd3f3b592e09c936d2d07ee0b65b9.tar.xz
perf daemon: Remove duplicate includes
sys/stat.h has been included at line 23, so remove the duplicate one at line 27. linux/string.h has been included at line 7, so remove the duplicate one at line 9. time.h has been included at line 14, so remove the duplicate one at line 28. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: kael_w@yeah.net Link: http://lore.kernel.org/lkml/20210323050139.287461-1-wanjiabing@vivo.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/builtin-daemon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/builtin-daemon.c b/tools/perf/builtin-daemon.c
index ace8772a4f03..632ecd010a4f 100644
--- a/tools/perf/builtin-daemon.c
+++ b/tools/perf/builtin-daemon.c
@@ -6,7 +6,6 @@
#include <linux/zalloc.h>
#include <linux/string.h>
#include <linux/limits.h>
-#include <linux/string.h>
#include <string.h>
#include <sys/file.h>
#include <signal.h>
@@ -24,8 +23,6 @@
#include <sys/signalfd.h>
#include <sys/wait.h>
#include <poll.h>
-#include <sys/stat.h>
-#include <time.h>
#include "builtin.h"
#include "perf.h"
#include "debug.h"