[LTP] [PATCH v2 2/2] syscalls/perf_event_open{01, 02}: Reduce size of idle loop

Yuriy Kolerov yuriy.kolerov@synopsys.com
Tue Jul 19 18:54:24 CEST 2016


By default do_work() iterates 1000000000 times. However such loop may
take a long time to finish for all available performance counters on
some slow FPGA-based development boards. Thus a number of iterations
is divided by 10 in this patch.

Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
---
 testcases/kernel/syscalls/perf_event_open/perf_event_open01.c | 2 +-
 testcases/kernel/syscalls/perf_event_open/perf_event_open02.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-syscalls-perf_event_open-01-02-Reduce-size-of-idle-l.patch
Type: text/x-patch
Size: 1058 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160719/44c4cd97/attachment.bin>


More information about the ltp mailing list