Get a Python that has frame pointers enabled
CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" pyenv install 3.13
pyenv shell 3.13
Run python with perf support turned on
| ./dist/bin/libxul.so: file format elf64-little | |
| SYMBOL TABLE: | |
| 000000000886a8d0 l .data.rel.ro 0000000000000000 $d.2 | |
| 000000000886a8d0 l O .data.rel.ro 0000000000000008 .hidden __dso_handle | |
| 000000000886a8d8 l .data.rel.ro 0000000000000000 $d | |
| 000000000886aa40 l .data.rel.ro 0000000000000000 $d | |
| 000000000886b540 l .data.rel.ro 0000000000000000 $d | |
| 000000000886b610 l .data.rel.ro 0000000000000000 $d |
| <!doctype html> | |
| <style> | |
| .child { | |
| position: absolute; | |
| left: 10px; | |
| width: 50px; | |
| height: 50px; | |
| background: lightblue; | |
| border: 1px solid black; |
Get a Python that has frame pointers enabled
CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" pyenv install 3.13
pyenv shell 3.13
Run python with perf support turned on
| diff --git a/build/config/compiler/pgo/BUILD.gn b/build/config/compiler/pgo/BUILD.gn | |
| index f8293b2ef03f9..97e985cecc374 100644 | |
| --- a/build/config/compiler/pgo/BUILD.gn | |
| +++ b/build/config/compiler/pgo/BUILD.gn | |
| @@ -127,21 +127,21 @@ config("pgo_optimization_flags") { | |
| # and at least some profile data always ends up being considered | |
| # out of date, so make sure we don't error for those cases. | |
| "-Wno-profile-instr-unprofiled", | |
| "-Wno-profile-instr-out-of-date", | |
| #include <assert.h> | |
| #include <bsm/audit.h> | |
| #include <bsm/audit_session.h> | |
| int main() { | |
| auditinfo_addr_t auditInfo; | |
| int result = getaudit_addr(&auditInfo, sizeof(auditInfo)); | |
| assert(result == 0 ); | |
| printf("got audit result: %d, uid %d\n", result, auditInfo.ai_auid); |
| #include <assert.h> | |
| #include <bsm/audit.h> | |
| #include <bsm/audit_session.h> | |
| int main() { | |
| auditinfo_addr_t auditInfo; | |
| int result = getaudit_addr(&auditInfo, sizeof(auditInfo)); | |
| assert(result == 0 ); | |
| if (auditInfo.ai_flags & AU_SESSION_FLAG_IS_INITIAL) { |
| diff --git a/dom/canvas/CanvasRenderingContext2D.cpp b/dom/canvas/CanvasRenderingContext2D.cpp | |
| index d84935f7c3f00..712ba15324623 100644 | |
| --- a/dom/canvas/CanvasRenderingContext2D.cpp | |
| +++ b/dom/canvas/CanvasRenderingContext2D.cpp | |
| @@ -1054,21 +1054,20 @@ CanvasRenderingContext2D::CanvasRenderingContext2D( | |
| mOpaqueAttrValue(false), | |
| mContextAttributesHasAlpha(true), | |
| mOpaque(false), | |
| mResetLayer(true), | |
| mIPC(false), |
| 06-22 12:44:24.176 3350 3365 I Gecko : {"action":"test_start","time":1655901864176,"thread":null,"pid":null,"source":"reftest","test":"image/test/crashtests/944353.jpg"} | |
| 06-22 12:44:24.177 3350 3365 I Gecko : REFTEST TEST-LOAD | http://10.0.2.2:8854/tests/image/test/crashtests/944353.jpg | 1381 / 3939 (35%) | |
| 06-22 12:44:24.177 3350 3365 I Gecko : | |
| 06-22 12:44:24.177 3350 3365 I Gecko : {"action":"log","time":1655901864177,"thread":null,"pid":null,"source":"reftest","level":"DEBUG","message":"START http://10.0.2.2:8854/tests/image/test/crashtests/944353.jpg"} | |
| 06-22 12:44:24.188 3425 3449 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa | |
| 06-22 12:44:24.269 3375 3478 I Gecko : LaunchDecodingAsync http://10.0.2.2:8854/tests/image/test/crashtests/944353.jpg | |
| 06-22 12:44:24.269 3375 3503 I Gecko : DecodingTask::Run(0x7b07e1bc2430) | |
| 06-22 12:44:24.275 3350 3365 D GeckoViewContent: handleEvent: pagetitlechanged | |
| 06-22 12:44:24.287 3375 3392 I Gecko : LookupFrame http://10.0.2.2:8 |
| +0x210 movaps -288(%rbp), %xmm0 | |
| +0x217 maxps -464(%rbp), %xmm0 | |
| +0x21e minps -448(%rbp), %xmm0 | |
| +0x225 movaps -304(%rbp), %xmm2 | |
| +0x22c maxps -496(%rbp), %xmm2 | |
| +0x233 minps -480(%rbp), %xmm2 | |
| +0x23a cvttps2dq %xmm0, %xmm1 | |
| +0x23e cvttps2dq %xmm2, %xmm0 | |
| +0x242 movdqa %xmm1, %xmm2 | |
| +0x246 pcmpeqd %xmm12, %xmm12 |
| vs_4_1 | |
| dcl_globalFlags refactoringAllowed | |
| dcl_constantbuffer cb0[5], immediateIndexed | |
| dcl_resource_texture2d (float,float,float,float) textures2D[2] (t2) | |
| dcl_input v0.xy | |
| dcl_output_siv o0.xyzw, position | |
| dcl_output o1.xyzw | |
| dcl_output o2.xy | |
| dcl_temps 3 | |
| 0: mul r0.xy, v0.xyxx, l(427.0000, 640.0000, 0.0000, 0.0000) |