Re: [PATCH v1 1/3] perf tests: Remove needless headers for bp_account

From: Arnaldo Carvalho de Melo
Date: Fri Oct 18 2019 - 13:56:14 EST


Em Fri, Oct 18, 2019 at 04:55:29PM +0800, Leo Yan escreveu:
> 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.

Thanks, applied.

> Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
> ---
> 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 016bba2c142d..52ff7a462670 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"
> --
> 2.17.1

--

- Arnaldo