Commit Graph

16 Commits

Author SHA1 Message Date
7650d6e7c6 libsysprof-capture: add file chunk frame type 2019-05-29 15:13:01 -07:00
cc415c9140 libsysprof-capture: add log frame type
This is useful to interleave logs with the capture so that we can have
correlation without interjecting them into mark fields.
2019-05-29 15:13:01 -07:00
26bcf94888 whitespace 2019-05-29 15:13:01 -07:00
4067b5e592 libsysprof-capture: improve zero'ing when reading back 2019-05-29 15:13:01 -07:00
567f8a3a0f libsysprof-capture: shorten names by removing Frame 2019-05-29 15:13:01 -07:00
db9aea95ea libsysprof-capture: add metadata frame type
This will allow sources and aids to discover information about what was
done between capture loading and saving.
2019-05-29 15:13:00 -07:00
395c801476 libsysprof-capture: save filename if first save 2019-05-29 15:13:00 -07:00
8feeec782f libsysprof-capture: discover the end time if necessary
If we get a capture file without a valid end-time, we should just go
discover that up-front instead of dealing with it all over the place.
2019-05-29 15:13:00 -07:00
0c62fd13d4 libsysprof-capture: copy stat when dup'ing reader 2019-05-29 15:13:00 -07:00
aed80ea51f libsysprof-capture: add stats to reader when possible
We can also back-fill these when reading a capture file.
2019-05-29 15:13:00 -07:00
74ea7d197c libsysprof-capture: copy discovered end_time 2019-05-29 15:13:00 -07:00
2498b4cded libsysprof-capture: try harder to get proper end-time 2019-05-29 15:13:00 -07:00
7a0132ac92 libsysprof-capture: update end time for marks 2019-05-29 15:13:00 -07:00
c1e9b90f97 libsysprof-capture: whitespace cleanup 2019-05-29 15:13:00 -07:00
dcbcd3caf5 libsysprof-capture: remove dead code 2019-05-29 15:13:00 -07:00
53c718b708 build: rename all symbols to use sysprof_ as prefix
As we gain in usage, we need to be more careful about using a prefix
that will not collide with other symbols. So version 3 of our ABI will
change to using Sysprof/SYSPROF/sysprof as the various prefixes.

The soname/api version bump will happen later on this branch so that
things are easier to test up until then.
2019-05-29 15:12:59 -07:00