Displaying 1 result from an estimated 1 matches for "98ryxrxe".
2013 Oct 17
1
How to profile a samba function
...function takes approx 120ms to run, which when multiplied up by a
few thousand files (2,000 in my case) you very quickly end up in minutes.
running samba-tool using cProfile ('python2.7 -m cProfile
/usr/bin/samba-tool ntacl sysvolreset') gives the following results:
http://pastebin.com/98rYXRxe
As you can see the only call that takes any 'significant' time is
"samba.samba3.smbd.set_nt_acl".
Because this function is part of the samba source rather than part of a
python script cProfile cannot profile any further.
How can I profile this function in smbd (without having t...