Enabling profiling globally ...

Richard Sharpe realrichardsharpe at gmail.com
Wed Apr 6 18:54:01 UTC 2016


On Wed, Apr 6, 2016 at 6:56 AM, Ralph Boehme <slow at samba.org> wrote:
> On Wed, Apr 06, 2016 at 06:27:46AM -0700, Richard Sharpe wrote:
>> On Tue, Apr 5, 2016 at 10:17 PM, Ralph Boehme <slow at samba.org> wrote:
>> > On Tue, Apr 05, 2016 at 03:42:24PM -0700, Richard Sharpe wrote:
>> >> We would like to enable profiling globally.
>> >>
>> >> Today, the model seems to be (once you have built with profiling
>> >> enabled) you have to tell every running smbd to switch it on.
>> >>
>> >> We think it would be useful to be able to have it enabled via an
>> >> smb.conf parameter so that it gets switched on for every smbd.
>> >
>> > what about "smbd profiling level = on" ?
>>
>> Yeah, that would be the sort of thing.
>>
>> We would like to be able to switch it on and off but for all smbds and
>> sending messages to them all seems like a lot of work and error prone.
>
> that put it in your smb.conf. Cf man smb.conf, this is an existing
> parameter.
>
> This seems so obvious that I'm suspecting that I miss something
> here...

Actually, there is one additional thing I would like to be able to do,
and that is have this switched on dynamically when the smb.conf
changes.

Currently it is only checked/change when the smbd starts.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



More information about the samba-technical mailing list