diff options
| author | Xinliang David Li <davidxl@google.com> | 2016-05-18 22:34:05 +0000 |
|---|---|---|
| committer | Xinliang David Li <davidxl@google.com> | 2016-05-18 22:34:05 +0000 |
| commit | 4617aa78279f6f862cf775f293d8238b77bacdd1 (patch) | |
| tree | 91bbb7c0d35fffc079db102ac55cbaddd4306caa /compiler-rt/lib/profile/InstrProfilingInternal.h | |
| parent | 61b41e07378b78cb004cd8830573d0c1e17a0d21 (diff) | |
| download | bcm5719-llvm-4617aa78279f6f862cf775f293d8238b77bacdd1.tar.gz bcm5719-llvm-4617aa78279f6f862cf775f293d8238b77bacdd1.zip | |
[profile] Allow max vals per site to be controllable at runtime
llvm-svn: 269993
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingInternal.h')
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingInternal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingInternal.h b/compiler-rt/lib/profile/InstrProfilingInternal.h index 56d825101dc..306b2bd94eb 100644 --- a/compiler-rt/lib/profile/InstrProfilingInternal.h +++ b/compiler-rt/lib/profile/InstrProfilingInternal.h @@ -150,10 +150,13 @@ void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData, VPDataReaderType *lprofGetVPDataReader(); +void lprofSetupValueProfiler(); + COMPILER_RT_VISIBILITY extern char *(*GetEnvHook)(const char *); COMPILER_RT_VISIBILITY extern void (*FreeHook)(void *); COMPILER_RT_VISIBILITY extern uint8_t *DynamicBufferIOBuffer; COMPILER_RT_VISIBILITY extern uint32_t VPBufferSize; +COMPILER_RT_VISIBILITY extern uint32_t VPMaxNumValsPerSite; extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *); #endif |

