| 61f87151 | 02-Jul-2024 |
Veronika Molnarova <[email protected]> |
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 <[email protected]> Cc: Athira Rajeev <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael Petlan <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
show more ...
|
| 13d58a66 | 02-Jul-2024 |
Veronika Molnarova <[email protected]> |
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 <[email protected]> Cc: Athira Rajeev <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael Petlan <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
show more ...
|
| 61d348f1 | 15-Feb-2024 |
Veronika Molnarova <[email protected]> |
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 <[email protected]> Signed-off-by: Michael Petlan <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
show more ...
|