Hi,
With many tasks - my event log is swamped and at least half the events are lost if task logging is just 'on':
LoggingSetup.sysbiosTaskLogging = true;
To overcome this - I have attempted to just switch task logging on in at runtime:
a)
Diags_setMask("ti.sysbios.knl.Task+1");
Diags_setMask("ti.sysbios.knl.Task+2");
...
Diags_setMask("ti.sysbios.knl.Task-1");
Diags_setMask("ti.sysbios.knl.Task-2");
b)
Diags_setMask("ti.sysbios.knl.Task=0");
Nothing I do at runtime has any impact on task logging. Its either on via static config - or off.
This
Task.common$.diags_USER1 = Diags.ALWAYS_OFF;
Task.common$.diags_USER2 = Diags.ALWAYS_OFF;
Turns it off
But this
Task.common$.diags_USER1 = Diags.RUNTIME_OFF;
Task.common$.diags_USER2 = Diags.RUNTIME_OFF;
Turns it on - and no run time attempt turns it off.
I have turned semaphore logging off which helps (a little bit)
How can I control task logging (execution graph) programatically between code points?
Thanks
Ian