summaryrefslogtreecommitdiffstats
path: root/js/src/vtune/README
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /js/src/vtune/README
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
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