[PATCH] btrace: initiate teardown when closing record btrace target

Jan Kratochvil jan.kratochvil@redhat.com
Sun Jan 26 20:36:00 GMT 2014


Hello Markus,

On Mon, 20 Jan 2014 10:00:21 +0100, Markus Metzger wrote:
> Initiate btrace teardown in record_btrace_close, so the remote target is
> still in place.
> 
> 2014-01-20  Markus Metzger  <markus.t.metzger@intel.com>
> 
> 	* record-btrace.c (record_btrace_close): Call btrace_teardown
> 	for all threads.

yes, fine with the patch.

The placement in record_btrace_close() is also symmetrical to btrace_enable()
in record_btrace_open().


Thanks,
Jan



More information about the Gdb-patches mailing list