The following commit has been merged into the perf/core branch of tip:

Commit-ID:     12d795637ba169650ea10ad6babcc5425255944a
Gitweb:        
https://git.kernel.org/tip/12d795637ba169650ea10ad6babcc5425255944a
Author:        Leo Yan <leo....@linaro.org>
AuthorDate:    Fri, 18 Oct 2019 16:55:29 +08:00
Committer:     Arnaldo Carvalho de Melo <a...@redhat.com>
CommitterDate: Sat, 19 Oct 2019 15:35:01 -03:00

perf tests: Remove needless headers for bp_account

A few headers are not needed and were introduced by copying from other
test file.  This patch removes the needless headers for the breakpoint
accounting testing.

Signed-off-by: Leo Yan <leo....@linaro.org>
Cc: Adrian Hunter <adrian.hun...@intel.com>
Cc: Alexander Shishkin <alexander.shish...@linux.intel.com>
Cc: Brajeswar Ghosh <brajeswar.li...@gmail.com>
Cc: Florian Fainelli <f.faine...@gmail.com>
Cc: Jiri Olsa <jo...@redhat.com>
Cc: Mark Rutland <mark.rutl...@arm.com>
Cc: Michael Petlan <mpet...@redhat.com>
Cc: Namhyung Kim <namhy...@kernel.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Song Liu <songliubrav...@fb.com>
Cc: Souptick Joarder <jrdr.li...@gmail.com>
Cc: Will Deacon <w...@kernel.org>
Link: http://lore.kernel.org/lkml/20191018085531.6348-1-leo....@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/tests/bp_account.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/perf/tests/bp_account.c b/tools/perf/tests/bp_account.c
index 016bba2..52ff7a4 100644
--- a/tools/perf/tests/bp_account.c
+++ b/tools/perf/tests/bp_account.c
@@ -10,11 +10,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/ioctl.h>
-#include <time.h>
 #include <fcntl.h>
-#include <signal.h>
-#include <sys/mman.h>
-#include <linux/compiler.h>
 #include <linux/hw_breakpoint.h>
 
 #include "tests.h"

Reply via email to