Hello,
I'm trying to benchmark / find bottlenecks in a driver implementation on a C6472. I'm trying to see HWIs in the execution graph, but I am not having any luck.
UIA config:
BIOS.libType = BIOS.LibType_Custom;
Load = xdc.useModule('ti.sysbios.utils.Load');
Load.hwiEnabled = false;
Load.swiEnabled = false;
Load.taskEnabled = false;
var Log = xdc.useModule('xdc.runtime.Log');
var LoggerCircBuf = xdc.useModule('ti.uia.runtime.LoggerCircBuf');
var LoggerCircBufParams = new LoggerCircBuf.Params;
LoggerCircBufParams.transferBufSize = 0x00080000;
LoggerCircBufParams.bufSection = ".UIABuf";
logger = LoggerCircBuf.create(LoggerCircBufParams);
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
LoggingSetup.disableMulticoreEventCorrelation = true;
LoggingSetup.eventUploadMode = LoggingSetup.UploadMode_JTAGRUNMODE;
LoggingSetup.loadLogger = logger;
LoggingSetup.loadLoggerSize = 0x00080000;
LoggingSetup.loadLogging = false;
LoggingSetup.loadLoggingRuntimeControl = false;
LoggingSetup.mainLogger = logger;
LoggingSetup.mainLoggerSize = 0x00080000;
LoggingSetup.mainLogging = true;
LoggingSetup.mainLoggingRuntimeControl = false;
LoggingSetup.overflowLoggerSize = 0;
LoggingSetup.sysbiosHwiLogging = true;
LoggingSetup.sysbiosHwiLoggingRuntimeControl = false;
LoggingSetup.sysbiosLogger = logger;
LoggingSetup.sysbiosLoggerSize = 0x00080000;
LoggingSetup.sysbiosSwiLogging = true;
LoggingSetup.sysbiosSwiLoggingRuntimeControl = false;
LoggingSetup.sysbiosTaskLogging = true;
LoggingSetup.sysbiosTaskLoggingRuntimeControl = false;
Tool versions:
bios_6_34_04_22
ipc_1_25_00_04
uia_1_00_03_25
xdctools_3_24_03_33
Yes, I know they are all old, but I do not have the ability to upgrade.
My drivers are XDC Modules (including interrupt functions) Is there an easy way to just instrument with UIA the modules I want?