* Tracepoint questions @ 2016-07-14 16:33 Aleksey Midenkov 2016-07-15 12:27 ` Antoine Tremblay 0 siblings, 1 reply; 2+ messages in thread From: Aleksey Midenkov @ 2016-07-14 16:33 UTC (permalink / raw) To: gdb Tracepoint hit count 30278, but only 7655 frames collected. Why? Am I right guessing that trace frames are in chronological order? If it's so, may I propose a suggestion: command 'tfind last' to select last frame, because last is the most interesting one! ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tracepoint questions 2016-07-14 16:33 Tracepoint questions Aleksey Midenkov @ 2016-07-15 12:27 ` Antoine Tremblay 0 siblings, 0 replies; 2+ messages in thread From: Antoine Tremblay @ 2016-07-15 12:27 UTC (permalink / raw) To: Aleksey Midenkov; +Cc: gdb Aleksey Midenkov writes: > Tracepoint hit count 30278, but only 7655 frames collected. Why? You may have hit the maximum trace buffer size. See: https://sourceware.org/gdb/current/onlinedocs/gdb/Starting-and-Stopping-Trace-Experiments.html#Starting-and-Stopping-Trace-Experiments Check the size with: show trace-buffer-size However this is target dependant, it may be hardcoded, what is your target ? You may want to try setting: set circular-trace-buffer on This will continue tracing after the buffer is full by making it a ring buffer, this way you will be able to know if you've stopped tracing previously because the max buffer was reached. > Am I right guessing that trace frames are in chronological order? > Yes. > If it's so, may I propose a suggestion: command 'tfind last' to select > last frame, because last is the most interesting one! That sounds like a good idea, since there is tfind start already... Regards, Antoine ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-15 12:27 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-07-14 16:33 Tracepoint questions Aleksey Midenkov 2016-07-15 12:27 ` Antoine Tremblay
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox