kernel: don't build cprofile code by default

This commit is contained in:
Arun Thomas
2011-08-02 15:24:47 +02:00
parent aaefc6f838
commit d69519f86a
3 changed files with 10 additions and 0 deletions

View File

@@ -195,6 +195,10 @@ _PROTOTYPE( int do_sprofile, (struct proc * caller, message *m_ptr) );
_PROTOTYPE( int do_cprofile, (struct proc * caller, message *m_ptr) );
_PROTOTYPE( int do_profbuf, (struct proc * caller, message *m_ptr) );
#if ! CPROFILE
#define do_cprofile NULL
#define do_profbuf NULL
#endif
_PROTOTYPE( int do_getmcontext, (struct proc * caller, message *m_ptr) );
_PROTOTYPE( int do_setmcontext, (struct proc * caller, message *m_ptr) );