Files
sw_openocd/src/target
Christopher Head d3aa2d3536 target/cortex_m: reduce duplication in profiling
The Cortex-M implementation of profiling contains a bunch of
conditionals and checks to handle both chips which have PCSR and chips
which do not. However, the net effect of the non-PCSR branches is
actually exactly the same as what target_profiling_default does. Rather
than duplicating this code, just detect the situation where PCSR isn’t
available and delegate to target_profiling_default.

Change-Id: I1be57ac77f983816ab6bf644a3cfca77b67d6f70
Signed-off-by: Christopher Head <chead@zaber.com>
Reviewed-on: http://openocd.zylin.com/5236
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2020-10-30 22:00:57 +00:00
..
2020-10-14 11:05:22 +01:00
2018-01-16 09:05:41 +00:00
2020-09-05 17:12:39 +01:00
2016-05-24 22:30:55 +01:00
2020-07-08 22:07:38 +01:00
2018-04-10 09:13:02 +01:00
2020-07-08 22:07:38 +01:00
2020-07-08 22:07:38 +01:00
2020-09-27 17:39:44 +01:00
2020-03-12 10:11:19 +00:00
2020-10-22 21:19:12 +01:00
2016-05-24 22:30:55 +01:00
2020-07-08 22:08:08 +01:00
2018-12-12 08:47:44 +00:00
2018-12-12 08:47:44 +00:00
2018-12-12 08:47:44 +00:00
2016-05-24 22:30:55 +01:00
2020-10-22 21:19:12 +01:00
2020-10-03 11:21:15 +01:00
2019-11-28 16:59:15 +00:00
2020-07-08 22:08:08 +01:00
2019-11-28 16:59:15 +00:00
2017-05-08 18:04:56 +01:00
2020-10-30 22:00:49 +00:00
2020-02-15 15:36:56 +00:00
2020-09-05 17:12:39 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:55 +01:00