[PATCH] D68351: [profile] Add a mode to continuously sync counter updates to a file
Sajjad Mirza via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 12:13:39 PDT 2019
sajjadm added a comment.
Not sure it belongs in this CL specifically, but would it be possible to later add a mode that defers the initialization of the mmap'd file until specifically requested by the process?
================
Comment at: compiler-rt/lib/profile/InstrProfiling.h:179
+ * program initialization time. If the filename is changed in one image, there
+ * is no way to remap the counter-to-file mappings in every other image.
*/
----------------
I'm afraid I don't follow, could you explain in more detail why changing the filename is a problem?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68351/new/
https://reviews.llvm.org/D68351
More information about the llvm-commits
mailing list