61f87151 | 02-Jul-2024 |
Veronika Molnarova <vmolnaro@redhat.com> |
perf testsuite report: Add test for perf-report basic functionality
Test basic execution and some options of perf-report subcommand, like show-nr-samples, header, showcpuutilization, pid and symbol
perf testsuite report: Add test for perf-report basic functionality
Test basic execution and some options of perf-report subcommand, like show-nr-samples, header, showcpuutilization, pid and symbol filtering.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240702110849.31904-11-vmolnaro@redhat.com Signed-off-by: Michael Petlan <mpetlan@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
show more ...
|
13d58a66 | 02-Jul-2024 |
Veronika Molnarova <vmolnaro@redhat.com> |
perf testsuite: Add common output checking helper
As a form of validation, it is a common practice to check the outputs of commands whether they contain expected patterns or match a certain regular
perf testsuite: Add common output checking helper
As a form of validation, it is a common practice to check the outputs of commands whether they contain expected patterns or match a certain regular expression.
This output checking helper is designed to allow checking stderr output of perf commands for unexpected messages, while ignoring messages that are known to be harmless, e.g.: "Lowering default frequency rate to \d+\." "\d+ out of order events recorded." etc.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240702110849.31904-10-vmolnaro@redhat.com Signed-off-by: Michael Petlan <mpetlan@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
show more ...
|
32ddd082 | 02-Jul-2024 |
Veronika Molnarova <vmolnaro@redhat.com> |
perf testsuite: Fix shellcheck warnings
Shellcheck is becoming a standard when building perf to prevent any unnecessary mistakes. Fix shellcheck warnings in perf testsuite.
Signed-off-by: Veronika
perf testsuite: Fix shellcheck warnings
Shellcheck is becoming a standard when building perf to prevent any unnecessary mistakes. Fix shellcheck warnings in perf testsuite.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240702110849.31904-5-vmolnaro@redhat.com Signed-off-by: Michael Petlan <mpetlan@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
show more ...
|
61d348f1 | 15-Feb-2024 |
Veronika Molnarova <vmolnaro@redhat.com> |
perf testsuite: Add common output checking helpers
As a form of validation, it is a common practice to check the outputs of commands whether they contain expected patterns or match a certain regex.
perf testsuite: Add common output checking helpers
As a form of validation, it is a common practice to check the outputs of commands whether they contain expected patterns or match a certain regex.
Add helpers for verifying that all regexes are found in the output, that all lines match any pattern from a set and that a certain expression is not present in the output.
In verbose mode these helpers log mismatches for easier failure investigation.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Signed-off-by: Michael Petlan <mpetlan@redhat.com> Cc: kjain@linux.ibm.com Cc: atrajeev@linux.vnet.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240215110231.15385-6-mpetlan@redhat.com
show more ...
|
e3425864 | 15-Feb-2024 |
Veronika Molnarova <vmolnaro@redhat.com> |
perf testsuite: Add initialization script for shell tests
Initialize reporting and logging functions that unifies formatting of the test output used for shell tests.
Signed-off-by: Veronika Molnaro
perf testsuite: Add initialization script for shell tests
Initialize reporting and logging functions that unifies formatting of the test output used for shell tests.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Signed-off-by: Michael Petlan <mpetlan@redhat.com> Cc: kjain@linux.ibm.com Cc: atrajeev@linux.vnet.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240215110231.15385-4-mpetlan@redhat.com
show more ...
|
451af6a7 | 15-Feb-2024 |
Veronika Molnarova <vmolnaro@redhat.com> |
perf testsuite: Add common setting for shell tests
Add settings defining sample commands later shared by shell tests. This adds the possibility to globally adjust the default values for the whole te
perf testsuite: Add common setting for shell tests
Add settings defining sample commands later shared by shell tests. This adds the possibility to globally adjust the default values for the whole testsuite.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com> Signed-off-by: Michael Petlan <mpetlan@redhat.com> Cc: kjain@linux.ibm.com Cc: atrajeev@linux.vnet.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240215110231.15385-3-mpetlan@redhat.com
show more ...
|