-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: add test to run json events #2773
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sacsant
suggested changes
Apr 11, 2024
disgoel
force-pushed
the
json
branch
2 times, most recently
from
April 24, 2024 06:41
622f7a9
to
f2ffe7f
Compare
|
@kjain101 @athira-rajeev can you please review |
Is this good to merge ? |
This patch adds a new test case to run all the perf pmu events. Also compares the event list and event code between perf command and json files from kernel source. Also added upstream as a target so the test can be run on a host booted with upstream kernel. Signed-off-by: Disha Goel <[email protected]>
Looks fine to me. |
PraveenPenguin
approved these changes
May 20, 2024
PraveenPenguin
merged commit May 20, 2024
8544571
into
avocado-framework-tests:master
3 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds a new test case to run all the perf pmu events. Also compares the event list and event code between perf command and json files from kernel source.
Result on RH8.x
avocado run --max-parallel-tasks=1 perf_json.py
JOB ID : afb342cdee4ec378bcd801445c82977563930073
JOB LOG : /home/avocado-fvt-wrapper/results/job-2024-03-15T03.09-afb342c/job.log
(1/2) perf_json.py:perf_json.test_pmu_events: STARTED
(1/2) perf_json.py:perf_json.test_pmu_events: PASS (2755.50 s)
(2/2) perf_json.py:perf_json.test_compare: STARTED
(2/2) perf_json.py:perf_json.test_compare: PASS (2738.79 s)
RESULTS : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /home/avocado-fvt-wrapper/results/job-2024-03-15T03.09-afb342c/results.html
JOB TIME : 5505.32 s
Result on S15 SPx
avocado run --max-parallel-tasks=1 perf_json.py
JOB ID : 72648f662566c1f901c2d477babe786c4344a07d
JOB LOG : /home/avocado-fvt-wrapper/results/job-2024-02-29T18.42-72648f6/job.log
(1/2) perf_json.py:perf_json.test_pmu_events: STARTED
(1/2) perf_json.py:perf_json.test_pmu_events: PASS (734.48 s)
(2/2) perf_json.py:perf_json.test_compare: STARTED
(2/2) perf_json.py:perf_json.test_compare: PASS (652.49 s)
RESULTS : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /home/avocado-fvt-wrapper/results/job-2024-02-29T18.42-72648f6/results.html
JOB TIME : 1556.65 s
json debug2.log
json debug1.log