You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With --sample-display-row flag set, we can see that sampling "total" summary is "shifted" under "sample source" line and above sampling symbols list:
======================== sample source: ld_spec, top 5 hot functions ========================
93.75% 1200 top 5 in total
overhead count symbol
======== ===== ======
80.86 1035 static struct _longobject * x_mul(struct _longobject *, struct _longobject *):python312_d.dll
For above 93.75% 1200 top 5 in total should be under symbol list. See example below with full listing of the example sampling with and without troublesome flag.
Example
>wperf record -e ld_spec:100000 -c 1 --sample-display-row 5 --sample-display-long --timeout 30 -- cpython\PCbuild\arm64\python_d.exe -c 10**10**100
base address of 'cpython\PCbuild\arm64\python_d.exe': 0x7ff765fe1288, runtime delta: 0x7ff625fe0000
sampling .....e..e..e..e..e done!
======================== sample source: ld_spec, top 5 hot functions ========================
93.75% 1200 top 5 in total
overhead count symbol
======== ===== ======
80.86 1035 static struct _longobject * x_mul(struct _longobject *, struct _longobject *):python312_d.dll
5.08 65 static unsigned int v_isub(unsigned int *, __int64, unsigned int *, __int64):python312_d.dll
3.52 45 _Py_atomic_load_32bit_impl:python312_d.dll
2.19 28 static unsigned int v_iadd(unsigned int *, __int64, unsigned int *, __int64):python312_d.dll
2.11 27 PyErr_CheckSignals:python312_d.dll
17.297 seconds time elapsed
PrzemekWirkus
changed the title
There's problem with sampling summary when --sample-display-row is used.
There's problem with sampling summary when --sample-display-row is used
Oct 30, 2024
Description
With
--sample-display-row
flag set, we can see that sampling "total" summary is "shifted" under "sample source" line and above sampling symbols list:For above
93.75% 1200 top 5 in total
should be under symbol list. See example below with full listing of the example sampling with and without troublesome flag.Example
The text was updated successfully, but these errors were encountered: