OCLA$SDA.HLB  —  OCLA  Examples
  These examples demonstrate how the OCLA SDA Extension typically
  is used.

1  –  Interactive Use

  The OCLA SDA Extension can be used to inspect a running system.
  To do this, the EV7 acquisition memory needs to be read.

  The following commands copy the EV7 acquisition cache memory into
  system memory and display the collected values for CPU 0.

  SDA> OCLA DUMP
  OCLA PC trace performed for 8 CPUs
  SDA> OCLA SHOW TRACE/SUM/SYMBOL/CPU=0
  OCLA PC trace information for CPU 00
  ------------------------------------
  CPU 00 has 16384 valid entries
  The overhead per allocation is 1208
  42 PC values displayed
  ffffffff8012d3ac  SCH$CALC_CPU_LOAD_C+0030C
  ffffffff8012d3b0  SCH$CALC_CPU_LOAD_C+00310
  ffffffff8012d3b4  SCH$CALC_CPU_LOAD_C+00314
  ffffffff8012d3b8  SCH$CALC_CPU_LOAD_C+00318
  ffffffff8012d3bc  SCH$CALC_CPU_LOAD_C+0031C
  ffffffff8012d3c0  SCH$CALC_CPU_LOAD_C+00320
  ffffffff8012d4d8  SCH$CALC_CPU_LOAD_C+00438
  ...

2  –  Starting OCLA

  This example shows how to start the OCLAs on the system.

  The following commands load the OCLA Execlet, enable the OCLAs
  on each CPU in the system, and start each OCLA. At this point,
  the EV7 OCLAs are collecting data for each PC instruction
  executed by the active CPUs in the system.

  In the unlikely event of a system failure, PC values recorded by
  the OCLAs are stored in the system dump file and can later be
  retrieved by using the System Dump Analyzer (SDA).

  SDA> OCLA LOAD
  OCLA$PCTRACE load status = 00000001

  SDA> OCLA ENABLE/RESET
  OCLA PC tracing enabled for 8 CPUs

  SDA> OCLA START
  OCLA PC tracing started for 8 CPUs

3  –  Stopping OCLA

  This example shows how to stop OCLAs on the system.

  The following commands stop all running OCLAS, disable and free up
  system memory associated with each OCLA, and unload the OCLA
  execlet from system memory.

  If a STOP/CPU command is executed, the OCLA is automatically
  disabled, and the cache set used by the OCLA is released to
  the EV7 CPU.

  If a CPU is started by the START/CPU command, normal OCLA commands
  must be used to enable and start the OCLA.

  SDA> OCLA STOP
  OCLA PC tracing stopped for 8 CPUs

  SDA> OCLA DISABLE
  OCLA PC tracing disabled for 8 CPUs

  SDA> OCLA UNLOAD
  OCLA$PCTRACE unload status = 00000001
Close Help