X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Ftrace.c;h=59489fe4e77ca8b7a5a92ac28eae6adfd20fab39;hb=3b3a5b642c6b87da68441d7238d5a2408262bccc;hp=50f526a949acdd965dc55d3307e04b4b2c315044;hpb=8c1ec4f0e1a7dd37a2549d83b6cd5c8c57eb34aa;p=fw%2Fopenocd diff --git a/src/target/trace.c b/src/target/trace.c index 50f526a94..59489fe4e 100644 --- a/src/target/trace.c +++ b/src/target/trace.c @@ -21,15 +21,9 @@ #include "config.h" #endif -#include "replacements.h" #include "log.h" #include "trace.h" #include "target.h" -#include "command.h" - -#include -#include -#include int trace_point(target_t *target, u32 number) { @@ -64,7 +58,7 @@ static int handle_trace_point_command(struct command_context_s *cmd_ctx, char *c for (i = 0; i < trace->num_trace_points; i++) { - command_print(cmd_ctx, "trace point 0x%8.8x (%"PRIi64" times hit)", + command_print(cmd_ctx, "trace point 0x%8.8x (%lld times hit)", trace->trace_points[i].address, trace->trace_points[i].hit_counter); }