Get a Python that has frame pointers enabled
CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" pyenv install 3.12
pyenv shell 3.12
Run python with perf support turned on
class StringWriter extends Writer { | |
public StringWriter(Writer out) { | |
this.out = out; | |
} | |
@Override | |
public void write(char[] cbuf, int off, int len) throws IOException { | |
for (int i = 0; i < len; i++) { | |
char c = cbuf[i + off]; | |
/* |
import subprocess | |
import os | |
tests_with_workers = ["Air", "Basic", "ML", "Babylon", "cdjs", | |
"first-inspector-code-load", "multi-inspector-code-load", | |
"Box2D", "octane-code-load", "crypto", "delta-blue", | |
"earley-boyer", "gbemu", "mandreel", "navier-stokes", | |
"pdfjs", "raytrace", "regexp", "richards", "splay", | |
"typescript", "octane-zlib", "FlightPlanner", "OfflineAssembler", | |
"UniPoker", "async-fs", "float-mm.c", "hash-map", |
./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.12
pyenv shell 3.12
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 |