2015-04-16 13:53:13

by Riku Voipio

[permalink] [raw]
Subject: [PATCH 0/3] perf tests: don't use obsolete syscalls

From: Riku Voipio <[email protected]>

The following hopefully trivial patches remove the use of legacy syscalls
from perf test subcommands. Patch 2/3 is optional, and would make the delta
a lot smaller.

Riku Voipio (3):
perf tests: switch from open to openat
perf tests: rename open*.c
perf tests: remove getpgrp from mmap-basic

tools/perf/Makefile.perf | 6 +-
tools/perf/tests/builtin-test.c | 12 +--
tools/perf/tests/mmap-basic.c | 6 +-
tools/perf/tests/open-syscall-all-cpus.c | 110 -------------------------
tools/perf/tests/open-syscall-tp-fields.c | 121 ----------------------------
tools/perf/tests/open-syscall.c | 56 -------------
tools/perf/tests/openat-syscall-all-cpus.c | 110 +++++++++++++++++++++++++
tools/perf/tests/openat-syscall-tp-fields.c | 121 ++++++++++++++++++++++++++++
tools/perf/tests/openat-syscall.c | 56 +++++++++++++
tools/perf/tests/parse-events.c | 12 +--
tools/perf/tests/tests.h | 6 +-
11 files changed, 307 insertions(+), 309 deletions(-)
delete mode 100644 tools/perf/tests/open-syscall-all-cpus.c
delete mode 100644 tools/perf/tests/open-syscall-tp-fields.c
delete mode 100644 tools/perf/tests/open-syscall.c
create mode 100644 tools/perf/tests/openat-syscall-all-cpus.c
create mode 100644 tools/perf/tests/openat-syscall-tp-fields.c
create mode 100644 tools/perf/tests/openat-syscall.c

--
2.1.4


2015-04-16 16:17:23

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH 0/3] perf tests: don't use obsolete syscalls


* [email protected] <[email protected]> wrote:

> From: Riku Voipio <[email protected]>
>
> The following hopefully trivial patches remove the use of legacy syscalls
> from perf test subcommands. Patch 2/3 is optional, and would make the delta
> a lot smaller.
>
> Riku Voipio (3):
> perf tests: switch from open to openat
> perf tests: rename open*.c
> perf tests: remove getpgrp from mmap-basic

Reviewed-by: Ingo Molnar <[email protected]>

Thanks,

Ingo