summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/main.c
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-11-12 10:24:23 -0800
committerVedant Kumar <vsk@apple.com>2019-11-18 12:56:58 -0800
commit2492b5a12550f7c4bb428c3761392f2ce47fa269 (patch)
treed652ab622dad665ad46a59d822c3bcc61003c3f9 /lldb/packages/Python/lldbsuite/test/source-manager/main.c
parentcc1b0bc24d2703087d80e4f4dc0560879733299a (diff)
downloadbcm5719-llvm-2492b5a12550f7c4bb428c3761392f2ce47fa269.tar.gz
bcm5719-llvm-2492b5a12550f7c4bb428c3761392f2ce47fa269.zip
[profile] Support online merging with continuous sync mode
Make it possible to use online profile merging ("%m" mode) with continuous sync ("%c" mode). To implement this, the merged profile is locked in the runtime initialization step and either a) filled out for the first time or b) checked for compatibility. Then, the profile can simply be mmap()'d with MAP_SHARED set. With the mmap() in place, counter updates from every process which uses an image are mapped onto the same set of physical pages assigned by the filesystem cache. After the mmap() is set up, the profile is unlocked. Differential Revision: https://reviews.llvm.org/D69586
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud