OpenOCD
riscv_sample_buf::buf
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
riscv_sample_buf::buf
riscv_sample_buf::buf field
Syntax
from
riscv.h:70
uint8_t
*
buf
;
References
Location
Referrer
Text
riscv.h:70
uint8_t
*
buf
;
riscv-013.c:2250
sample_memory_bus_v1()
buf
->
buf
[
buf
->
used
]
=
i
;
riscv-013.c:2251
sample_memory_bus_v1()
buf_set_u64
(
buf
->
buf
+
buf
->
used
+
1
,
0
,
config
->
bucket
[
i
]
.
size_bytes
*
8
,
value
)
;
riscv.c:270
riscv_sample_buf_maybe_add_timestamp()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
++
]
=
RISCV_SAMPLE_BUF_TIMESTAMP_BEFORE
;
riscv.c:272
riscv_sample_buf_maybe_add_timestamp()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
++
]
=
RISCV_SAMPLE_BUF_TIMESTAMP_AFTER
;
riscv.c:273
riscv_sample_buf_maybe_add_timestamp()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
++
]
=
now
&
0xff
;
riscv.c:274
riscv_sample_buf_maybe_add_timestamp()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
++
]
=
(
now
>
>
8
)
&
0xff
;
riscv.c:275
riscv_sample_buf_maybe_add_timestamp()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
++
]
=
(
now
>
>
16
)
&
0xff
;
riscv.c:276
riscv_sample_buf_maybe_add_timestamp()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
++
]
=
(
now
>
>
24
)
&
0xff
;
riscv.c:2140
sample_memory()
if
(
!
r
->
sample_buf
.
buf
||
!
r
->
sample_config
.
enabled
)
riscv.c:2161
sample_memory()
r
->
sample_buf
.
buf
[
r
->
sample_buf
.
used
]
=
i
;
riscv.c:2165
sample_memory()
r
->
sample_buf
.
buf
+
r
->
sample_buf
.
used
+
1
)
;
Data Use
Functions reading
riscv_sample_buf::buf
riscv_sample_buf::buf
riscv_sample_buf_maybe_add_timestamp()
sample_memory()
sample_memory_bus_v1()
all items filtered out
Type of
riscv_sample_buf::buf
riscv_sample_buf::buf
uint8_t
all items filtered out