Commit a874dd85 authored by pcapriotti's avatar pcapriotti

Export startProfTimer and stopProfTimer symbols.

This fixes unresolved symbols error when dynamically linking base.
parent 4e0a9577
......@@ -28,6 +28,7 @@
#include "Trace.h"
#include "StgPrimFloat.h" // for __int_encodeFloat etc.
#include "Stable.h"
#include "Proftimer.h"
#if !defined(mingw32_HOST_OS)
#include "posix/Signals.h"
......@@ -1298,8 +1299,8 @@ typedef struct _RtsSymbolVal {
SymI_HasProto(getMonotonicNSec) \
SymI_HasProto(lockFile) \
SymI_HasProto(unlockFile) \
SymI_NeedsProto(startProfTimer) \
SymI_NeedsProto(stopProfTimer) \
SymI_HasProto(startProfTimer) \
SymI_HasProto(stopProfTimer) \
RTS_USER_SIGNALS_SYMBOLS \
RTS_INTCHAR_SYMBOLS
......
......@@ -9,14 +9,14 @@
#ifndef PROFTIMER_H
#define PROFTIMER_H
void stopProfTimer ( void );
void startProfTimer ( void );
#include "BeginPrivate.h"
void initProfTimer ( void );
void handleProfTick ( void );
void stopProfTimer ( void );
void startProfTimer ( void );
void stopHeapProfTimer ( void );
void startHeapProfTimer ( void );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment