Message ID | 20191018085531.6348-1-leo.yan@linaro.org |
---|---|
State | New |
Headers | show |
Series | [v1,1/3] perf tests: Remove needless headers for bp_account | expand |
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@linaro.org> > --- > 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
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"
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.yan@linaro.org> --- tools/perf/tests/bp_account.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1