[all-commits] [llvm/llvm-project] dadaa7: [BOLT][instr] Add optional arguments to __bolt_ins...
YongKang Zhu via All-commits
all-commits at lists.llvm.org
Mon Jul 14 13:06:37 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dadaa7941dfd1355569d8bee5d8e199db93364f5
https://github.com/llvm/llvm-project/commit/dadaa7941dfd1355569d8bee5d8e199db93364f5
Author: YongKang Zhu <yongzhu at fb.com>
Date: 2025-07-14 (Mon, 14 Jul 2025)
Changed paths:
M bolt/runtime/instr.cpp
Log Message:
-----------
[BOLT][instr] Add optional arguments to __bolt_instr_data_dump() (#148700)
`__bolt_instr_data_dump()` will find instrumented binary name by
iterating through entries under directory `/proc/self/map_files`,
and then open the binary and memory map it onto heap in order
to locate `.bolt.instr.tables` section to read the descriptions.
If binary name is already known and/or binary is already opened
as memory mapped, we can pass binary name and/or memory
buffer directly to `__bolt_instr_data_dump()` to save some work.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list