audit: predict AUDITING_TD as false
By default it is compiled in and disabled. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
157d106c90
commit
3ecf53c2d0
@ -150,7 +150,7 @@ void audit_thread_free(struct thread *td);
|
||||
* Define macros to wrap the audit_arg_* calls by checking the global
|
||||
* audit_syscalls_enabled flag before performing the actual call.
|
||||
*/
|
||||
#define AUDITING_TD(td) ((td)->td_pflags & TDP_AUDITREC)
|
||||
#define AUDITING_TD(td) (__predict_false((td)->td_pflags & TDP_AUDITREC))
|
||||
|
||||
#define AUDIT_ARG_ADDR(addr) do { \
|
||||
if (AUDITING_TD(curthread)) \
|
||||
|
Loading…
Reference in New Issue
Block a user