EasyManua.ls Logo

COBHAM GRMON3 - Page 140

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
140 www.cobham.com/gaisler
46. hist - syntax
NAME
hist - Print AHB transfers or instruction entries in the trace buffer
SYNOPSIS
hist ?length? ?cpu#?
DESCRIPTION
hist ?length?
Print the hist trace buffer. The ?length? entries will be printed, default is 10. Use cpu# to select CPU.
RETURN VALUE
Upon successful completion, hist returns a list of mixed AHB and instruction trace buffer entries, sorted after
time. The first value in each entry is either the literal string AHB or INST indicating the type of entry. For more
information about the entry values, see return values described for commands ahb and inst.
EXAMPLE
Print 10 rows
grmon3> hist
TIME ADDRESS INSTRUCTIONS/AHB SIGNALS RESULT/DATA
266951 000021D4 restore %o0, %o0 [0000000D]
266954 000019E4 mov 0, %g1 [00000000]
266955 000019E8 mov %g1, %i0 [00000000]
266956 000019EC ret [000019EC]
266957 000019F0 restore [00000000]
266960 0000106C call 0x00009904 [0000106C]
266961 00001070 nop [00000000]
266962 00009904 mov 1, %g1 [00000001]
266963 00009908 ta 0x0 [ TRAP ]
266986 00000800 AHB read mst=0 size=4 [91D02000 01000000 01000000 0100]
TCL returns:
{INST 266951 0x000021D4 0x91E80008 0x0000000D 0 0 0} {INST 266954 0x000019E4
0x82102000 0x00000000 0 0 0} {INST 266955 0x000019E8 0xB0100001 0x00000000
0 0 0} {INST 266956 0x000019EC ...
Print 2 rows
grmon3> hist 2
TIME ADDRESS INSTRUCTIONS/AHB SIGNALS RESULT/DATA
266963 00009908 ta 0x0 [ TRAP ]
266986 00000800 AHB read mst=0 size=4 [91D02000 01000000 01000000 0100]
TCL returns:
{INST 266963 0x00009908 0x91D02000 0x00000000 0 1 0} {AHB 266986 0x00000800
{0x91D02000 0x01000000 0x01000000 0x01000000} R 0 2 4 1 0 0 0}
SEE ALSO
Section 3.4.9, “Using the trace buffer”

Table of Contents