void (*to_trace_set_readonly_regions) (struct target_ops *);
/* Start a trace run. */
- void (*to_trace_start) (void);
+ void (*to_trace_start) (struct target_ops *);
/* Get the current status of a tracing run. */
int (*to_get_trace_status) (struct trace_status *ts);
(*current_target.to_disable_tracepoint) (¤t_target, loc)
#define target_trace_start() \
- (*current_target.to_trace_start) ()
+ (*current_target.to_trace_start) (¤t_target)
#define target_trace_set_readonly_regions() \
(*current_target.to_trace_set_readonly_regions) (¤t_target)