summaryrefslogtreecommitdiffstats
path: root/js/src/vtune/README
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /js/src/vtune/README
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/vtune/README')
-rw-r--r--js/src/vtune/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/vtune/README b/js/src/vtune/README
new file mode 100644
index 0000000000..212078b4e3
--- /dev/null
+++ b/js/src/vtune/README
@@ -0,0 +1,21 @@
+VTune files imported from VTune Amplifier XE 2017 Rev 1.0.486011.
+
+To update these files, copy the following from a VTune install directory:
+ sdk/src/ittnotify/*
+
+ include/ittnotify.h
+ include/jitprofiling.h
+ include/legacy/ittnotify.h
+
+Additionally, the following changes should be propagated:
+
+ - Some static functions should be exported for use in VTuneWrapper.cpp.
+ - Per Bug 1339190, all instances of "__attribute__((weak))" must be removed,
+ or Ubuntu shell builds will randomly crash on startup.
+ - With weak attributes removed, DL_SYMBOLS and PTHREAD_SYMBOLS should
+ be defined as "(1)" to avoid -Waddress warnings.
+ - Per Bug 1377651, the __itt_null variable in ittnotify.h should be
+ made non-static, so it can be used in a non-static function.
+
+If the license has changed, update the "VTune License" section of
+ toolkit/content/license.html