diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-11-14 12:52:33 +0100 |
|---|---|---|
| committer | Ralph Böhme <slow@samba.org> | 2015-03-06 12:31:10 +0100 |
| commit | b9f9869d1bec7cff6682d3cda774dcbb2464223b (patch) | |
| tree | 2bb1d14b684945bd653398097214cdde33fdf9ca /source3/wscript | |
| parent | 74a16a1094278d2c5c8ac800a4f7ed4553d7ac85 (diff) | |
| download | samba-b9f9869d1bec7cff6682d3cda774dcbb2464223b.tar.gz samba-b9f9869d1bec7cff6682d3cda774dcbb2464223b.tar.xz samba-b9f9869d1bec7cff6682d3cda774dcbb2464223b.zip | |
s3:smbprofile: profile the system and user space cpu time
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/wscript')
| -rw-r--r-- | source3/wscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 63bca9d060..2c03c304db 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1484,6 +1484,7 @@ main() { if Options.options.with_profiling_data: conf.DEFINE('WITH_PROFILE', 1); + conf.CHECK_FUNCS('getrusage', headers="sys/time.h sys/resource.h") if Options.options.with_pthreadpool: if conf.CONFIG_SET('HAVE_PTHREAD'): |
