Re: [PATCH v3 2/2] perf tests: Add test to check backward ring buffer

2016-05-09 Thread Arnaldo Carvalho de Melo
Em Mon, May 09, 2016 at 01:47:51AM +, Wang Nan escreveu: > This test checks reading from backward ring buffer. > > Test result: > > # ~/perf test 'ring buffer' > 45: Test backward reading from ring buffer : Ok Thanks, applied and also I added a patch to show that bit

Re: [PATCH v3 2/2] perf tests: Add test to check backward ring buffer

2016-05-09 Thread Arnaldo Carvalho de Melo
Em Mon, May 09, 2016 at 01:47:51AM +, Wang Nan escreveu: > This test checks reading from backward ring buffer. > > Test result: > > # ~/perf test 'ring buffer' > 45: Test backward reading from ring buffer : Ok Thanks, applied and also I added a patch to show that bit

[PATCH v3 2/2] perf tests: Add test to check backward ring buffer

2016-05-08 Thread Wang Nan
This test checks reading from backward ring buffer. Test result: # ~/perf test 'ring buffer' 45: Test backward reading from ring buffer : Ok Test case is a while loop which calls prctl(PR_SET_NAME) multiple times. Each prctl should issue 2 events: one PERF_RECORD_SAMPLE, one

[PATCH v3 2/2] perf tests: Add test to check backward ring buffer

2016-05-08 Thread Wang Nan
This test checks reading from backward ring buffer. Test result: # ~/perf test 'ring buffer' 45: Test backward reading from ring buffer : Ok Test case is a while loop which calls prctl(PR_SET_NAME) multiple times. Each prctl should issue 2 events: one PERF_RECORD_SAMPLE, one