Commit Graph

5 Commits

Author SHA1 Message Date
f72306f5a8 writer: use SP_CAPTURE_CURRENT_TIME
This should be nsec, not usec based time.
2016-04-15 04:51:23 -07:00
d7ed2ddf30 writer: allow callers to define a counter range
This allows dynamic counter ids that can be allocated in blocks.
2016-04-14 21:36:07 -07:00
1b8cfed5c8 writer: use dup()d fd when creating reader
Readers can share the file-offset in the file-descriptor table, but should
really have their own fd that they can close().
2016-04-14 19:25:26 -07:00
c87a90cd9a capture: add frame type for defining and setting counters
We might want to add a CTRADD type later on, for relative values rather
than absolute. But this should get us started.

Simply define counters upfront, and then set them during the capture
process.

Obviously, we need to come up with a good way to visualize this
information in the UI.
2016-04-14 18:29:39 -07:00
29c4ec495f Land Sysprof 2.x
This is a major redesign a modernization of Sysprof. The core data
structures and design are largely the same, but it has been ported to
Gtk3 and has lots of additions that should make your profiling experience
smoother. Especially for those that are new to profiling.

There are some very simple help docs added, but we really need the
experts to come in and write some documentation here.
2016-04-13 05:24:03 -07:00