RE: [patch v8 22/24] btrace, gdbserver: read branch trace incrementally

Metzger, Markus T
2013-12-16T12:47:37Z

> -----Original Message-----
> From: Pedro Alves [mailto:palves@redhat.com]
> Sent: Friday, December 13, 2013 8:46 PM
> To: Metzger, Markus T

> > + /* The instructions vector may become empty temporarily if this has
> > + been the only instruction in this function segment.
> > + This violates the invariant but will be remedied shortly. */
>
> By what?

By btrace_compute_ftrace when we add the new trace.

I added the above to the comment.

Regards,
Markus.

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052