Re: [PATCH 3/7] btrace: Use binary search to find instruction.

Simon Marchi
2016-11-02T11:24:21Z

On 2016-11-02 06:01, Wiederhake, Tim wrote:
> struct btrace_thread_info is initialized by memset'ing it to zero. If
> I'm not mistaken we can't do that if the struct contains a C++ member
> with a constructor.

Indeed, the allocations/deallocations would need to be replaced with
new/delete, and a constructor to zero-initialize the other members.