Opened 6 years ago
Closed 5 months ago
#240 closed enhancement (fixed)
need TRACE_OPTION_TRACETIME
| Reported by: | perry | Owned by: | perry |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | libtrace-library | Version: | 3.0 |
| Keywords: | Cc: |
Description
We need an option to enable/disable playback in tracetime/realtime for trace_event() and trace_read_packet().
Trace_read_packet() should default to realtime (ie as fast as possible)
trace_event() should default to tracetime (ie 1s in realtime == 1s in tracetime).
Change History (2)
comment:1 Changed 6 years ago by perry
comment:2 Changed 5 months ago by salcock
- Resolution set to fixed
- Status changed from new to closed
I'm pretty happy with the way this works now - trace_read_packet is always realtime, trace_event is tracetime by default but this can be disabled if necessary (i.e. you want to test a trace_event program with a trace file but don't want to wait for your test trace to painfully play out in trace time).
Don't really see the need for trace_read_packet to be tracetime - that's kinda what trace_event is for.

Partial implementation was added in r1247