diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-19 13:06:46 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-19 13:06:46 -0800 |
commit | 9abad965ab358c1d598f1354842967cad637b284 (patch) | |
tree | 047127c60e1095c67a73f5c6c41e66485b326848 /src/target/etb.h | |
parent | bfadd79965cc448a75b4f51abaf9523c4ec0ae26 (diff) | |
download | riscv-openocd-9abad965ab358c1d598f1354842967cad637b284.zip riscv-openocd-9abad965ab358c1d598f1354842967cad637b284.tar.gz riscv-openocd-9abad965ab358c1d598f1354842967cad637b284.tar.bz2 |
ETM trigger_percent becomes an ETB command
This command was misplaced; it's not generic to all traceport drivers,
only the ETB supports this kind of configuration. So move it, and
update the relevant documentation.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/etb.h')
-rw-r--r-- | src/target/etb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/etb.h b/src/target/etb.h index 49385ee..dfffb68 100644 --- a/src/target/etb.h +++ b/src/target/etb.h @@ -44,6 +44,9 @@ struct etb /* ETB parameters */ uint32_t ram_depth; uint32_t ram_width; + + /** how much trace buffer to fill after trigger */ + unsigned trigger_percent; }; struct etb_reg |