aboutsummaryrefslogtreecommitdiff
path: root/gdb/record-btrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/record-btrace.h')
-rw-r--r--gdb/record-btrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/record-btrace.h b/gdb/record-btrace.h
index ba66719..e17b643 100644
--- a/gdb/record-btrace.h
+++ b/gdb/record-btrace.h
@@ -25,4 +25,8 @@
/* Push the record_btrace target. */
extern void record_btrace_push_target (void);
+/* Return the cpu configured by the user via "set btrace cpu". Returns
+ NULL if the cpu was configured as auto. */
+extern const struct btrace_cpu *record_btrace_get_cpu (void);
+
#endif /* RECORD_BTRACE_H */