projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nds32: support Andes profiling function
[fw/openocd]
/
src
/
jtag
/
aice
/
aice_port.h
diff --git
a/src/jtag/aice/aice_port.h
b/src/jtag/aice/aice_port.h
index 8f3e855129d5d90b102b1867e6069ba438d5383e..35bc61c9d966f56b8a2d308e59c0de1762842f43 100644
(file)
--- a/
src/jtag/aice/aice_port.h
+++ b/
src/jtag/aice/aice_port.h
@@
-218,6
+218,10
@@
struct aice_port_api_s {
/** */
int (*set_data_endian)(enum aice_target_endian target_data_endian);
+
+ /** */
+ int (*profiling)(uint32_t interval, uint32_t iteration,
+ uint32_t reg_no, uint32_t *samples, uint32_t *num_samples);
};
#define AICE_PORT_UNKNOWN 0