Re: [PATCH v2 3/3] perf-test: add a test for perf-stat --bpf-counters option

2021-03-18 Thread Song Liu
> On Mar 17, 2021, at 11:07 PM, Namhyung Kim wrote: > > On Wed, Mar 17, 2021 at 6:18 AM Song Liu wrote: >> >> Add a test to compare the output of perf-stat with and without option >> --bpf-counters. If the difference is more than 10%, the test is considered >> as failed. >> >> For stable re

Re: [PATCH v2 3/3] perf-test: add a test for perf-stat --bpf-counters option

2021-03-17 Thread Namhyung Kim
On Wed, Mar 17, 2021 at 6:18 AM Song Liu wrote: > > Add a test to compare the output of perf-stat with and without option > --bpf-counters. If the difference is more than 10%, the test is considered > as failed. > > For stable results between two runs (w/ and w/o --bpf-counters), the test > progra

[PATCH v2 3/3] perf-test: add a test for perf-stat --bpf-counters option

2021-03-16 Thread Song Liu
Add a test to compare the output of perf-stat with and without option --bpf-counters. If the difference is more than 10%, the test is considered as failed. For stable results between two runs (w/ and w/o --bpf-counters), the test program should: 1) be long enough for better signal-noise-ratio; 2)