[wperf] WPERF-828: fix Assertion failed: b.sec_idx, file windowsperf\wperf\main.cpp
Introduction
This change only removes assert and skips unknown symbols so that users can keep working (but without additional symbols). We will try to sort this further with additional changes.
I will improve https://gitlab.com/Linaro/WindowsPerf/windowsperf_test_resources/-/tree/main/windowsperfsample?ref_type=heads so we can reproduce FFS (Ext+#) symbols and add (if possible) support for those in wperf sampling view.
In this patch:
- wperf: fix Assertion failed: b.sec_idx, file windowsperf\wperf\main.cpp
Testing on neoverse-n1
(With new pytest 8.2.0)
>pytest
================================================= test session starts =================================================
platform win32 -- Python 3.12.3, pytest-8.2.0, pluggy-1.5.0
rootdir: C:\Users\przemek\Workspace\3.6.0
configfile: pytest.ini
collected 512 items
wperf_cli_common_test.py .... [ 0%]
wperf_cli_config_test.py ..... [ 1%]
wperf_cli_cpython_bench_test.py .s [ 2%]
wperf_cli_cpython_dep_record_test.py . [ 2%]
wperf_cli_dmc_test.py . [ 2%]
wperf_cli_dmc_value_test.py . [ 2%]
wperf_cli_extra_events_test.py .... [ 3%]
wperf_cli_hammer_core_test.py .................. [ 7%]
wperf_cli_info_str_test.py . [ 7%]
wperf_cli_json_validator_test.py ............. [ 9%]
wperf_cli_list_test.py ..... [ 10%]
wperf_cli_lock_test.py ..... [ 11%]
wperf_cli_metrics_test.py ........ [ 13%]
wperf_cli_metrics_ts_test.py .......................................................................... [ 27%]
wperf_cli_padding_test.py .............. [ 30%]
wperf_cli_prettytable_test.py ..... [ 31%]
wperf_cli_record_test.py ................s [ 34%]
wperf_cli_sample_test.py .. [ 35%]
wperf_cli_stat_test.py ...................................................................... [ 48%]
wperf_cli_stat_value_test.py ................................................................................... [ 65%]
................................................................................................. [ 83%]
wperf_cli_test_test.py ........... [ 86%]
wperf_cli_timeline_test.py .................................. [ 92%]
wperf_cli_ustress_bench_test.py ...... [ 93%]
wperf_cli_ustress_dep_record_test.py .. [ 94%]
wperf_cli_ustress_dep_wperf_lib_timeline_test.py . [ 94%]
wperf_cli_ustress_dep_wperf_test.py ....... [ 95%]
wperf_cli_ustress_timeline_test.py .................. [ 99%]
wperf_cli_xperf_test.py s [ 99%]
wperf_lib_app_test.py . [ 99%]
wperf_lib_c_compat_test.py . [100%]
=========================================== WindowsPerf Test Configuration ============================================
OS: Windows-11-10.0.26100-SP0, ARM64
CPU: 80 x ARMv8 (64-bit) Family 8 Model D0C Revision 301, Ampere(R)
Python: 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:18:48) [MSC v.1938 64 bit (ARM64)]
Time: 25/06/2024, 01:51:33
wperf: 3.6.0.8822f80f-dirty
wperf-driver: 3.6.0.8822f80f-dirty
=============================================== short test summary info ===============================================
SKIPPED [1] wperf_cli_cpython_bench_test.py:80: skipping CPython rebuild procedure (already built), cleanup CPython build with 'cpython\PCbuild\clean.bat'
SKIPPED [1] wperf_cli_record_test.py:154: this test is applicable only if `gpc_num` < `total_gpc_num`, now: gpc_num=6 and total_gpc_num=6
SKIPPED [1] wperf_cli_xperf_test.py:64: skipping XPERF test bench, enable it with `--enable-bench-xperf` command line options
===================================== 509 passed, 3 skipped in 1626.80s (0:27:06) =====================================
Edited by Przemyslaw Wirkus