Skip to contentSkip to conversation

syscalls/perf_event_open02: Fix indentation and typo in help

PATCH New Yuriy Kolerov 2 participants 3 messages Jul 19, 2016 – Jul 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 syscalls/perf_event_open02: Fix indentation and typo in help

---
 testcases/kernel/syscalls/perf_event_open/perf_event_open02.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-syscalls-perf_event_open02-Fix-indentation-and-typo-.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160719/91cc3c48/attachment-0001.bin>

#1 lore raw

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

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.

---
 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>

#2 lore raw

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

Hi!
Both pushed, thanks.

FYI: I'm getting a rare failures for perf_event_open02 on Linux 4.6.3 on
Core i3 (ratio is a bit higher than the test expects it to be) but that is regradless of this patch and looks like the number of iterations does not play any role in this. I will have to look closer at this later.

Signature · 2 lines
Cyril Hrubis
[email protected]