X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Frecord-btrace.h;h=e6849b635dbd5b842d66dab185716b49f409d45f;hb=747cfc8c6bb23d40b3fa987f6c3df9d3a0d7b817;hp=d2062b8cde3d6bff13125c5aa9fc158609af04cb;hpb=c0272db5854a799a9f3bb3803c3d03d1a62b9ac2;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/record-btrace.h b/gdb/record-btrace.h index d2062b8cde..e6849b635d 100644 --- a/gdb/record-btrace.h +++ b/gdb/record-btrace.h @@ -1,6 +1,6 @@ /* Branch trace support for GDB, the GNU debugger. - Copyright (C) 2016 Free Software Foundation, Inc. + Copyright (C) 2016-2019 Free Software Foundation, Inc. Contributed by Intel Corp. @@ -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 */