Bug 1805673 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

So I think [this code](https://searchfox.org/mozilla-central/rev/f40d29a11f2eb4685256b59934e637012ea6fb78/tools/profiler/lul/platform-linux-lul.cpp#48-54) needs to be special-cased for libraries whose name is `[vdso]`. We need to treat the bytes in our process memory from `lib.GetStart()` to `lib.GetEnd()` as a normal ELF file. The Lul ELF section loading code needs to support the case where we already have the bytes for the file and it does not need to be loaded from the file system.
So I think [this code](https://searchfox.org/mozilla-central/rev/f40d29a11f2eb4685256b59934e637012ea6fb78/tools/profiler/lul/platform-linux-lul.cpp#48-54) needs to be special-cased for libraries whose name is `[vdso]`. We need to treat the bytes in our process memory from `lib.GetStart()` to `lib.GetEnd()` as a normal ELF file. The Lul ELF section loading code needs to support the case where we already have the bytes for the file in memory and they don't not need to be loaded from the file system.
So I think [this code](https://searchfox.org/mozilla-central/rev/f40d29a11f2eb4685256b59934e637012ea6fb78/tools/profiler/lul/platform-linux-lul.cpp#48-54) needs to be special-cased for libraries whose name is `[vdso]`. We need to treat the bytes in our process memory from `lib.GetStart()` to `lib.GetEnd()` as a normal ELF file. The Lul ELF section loading code needs to support the case where we already have the bytes for the file in memory and they don't need to be (and can't be) loaded from the file system.

Back to Bug 1805673 Comment 4