Commit Graph

3491 Commits

Author SHA1 Message Date
f3e87eec2b sysprof: filter process table by selected range 2023-07-17 13:57:59 -07:00
b856763337 sysprof: allow scrubbing processes by their spawn time
This just makes it easier to look at what processes were spawned when.
2023-07-17 13:22:19 -07:00
3ce7ddd653 sysprof: remove unused label 2023-07-17 13:21:55 -07:00
1f7beb9505 sysprof: add listing of threads seen in a process
This is useful just so we can look at a table of what threads we
discovered (via sampling). We might also want to add a new Thread frame
that allows us to see that data from Perf. Especially once we start doing
scheduler information.
2023-07-17 13:15:43 -07:00
0cdf7d8e87 sysprof: add a process table in addition to chart 2023-07-17 12:50:19 -07:00
cdbf3508f6 libsysprof-analyze: include thread info in processes 2023-07-17 12:33:49 -07:00
05349f9759 libsysprof-analyze: add sysprof-thread-info.h header 2023-07-17 12:33:37 -07:00
68abadbdd8 libsysprof-analyze: ensure pid info structure for exit time 2023-07-17 12:26:09 -07:00
c1cfc1e210 libsysprof-analyze: add basic tracking of threads
It's nice to have a list of threads that are in a process and make that
available as a listmodel of the process. We can use this to show more
information in the UI at some point.
2023-07-17 12:25:59 -07:00
f8890fb040 libsysprof-capture: add rewrite-pid to capture tests 2023-07-17 12:24:44 -07:00
4a6a0f9948 tools: remove more tooling
These eventually all go away.
2023-07-17 12:24:33 -07:00
1913e27b61 sysprof-agent: move sysprof-agent to own directory
The tools directory will be going away and pieces moved around.
2023-07-17 11:40:26 -07:00
ee962d93cd libsysprof-profile: give access to GSubprocess
This is needed to be able to proxy exit/signal information via
sysprof-agent.
2023-07-17 11:39:35 -07:00
f6fa18bfe5 libsysprof-profile: add required policy to power profiles 2023-07-17 11:39:06 -07:00
df8187f66b libsysprof-capture: move mapped ring buffer test to capture lib 2023-07-17 11:38:53 -07:00
12e75e4c8c build: remove libsysprof
This library is going away now that we have -analyze and -profile libs.
2023-07-17 11:38:25 -07:00
eb72b1100b sysprof: add cpu info to cpu usage section 2023-07-15 12:07:39 -07:00
49e817587c sysprof: remove cpu info dialog
We can do this with a section instead.
2023-07-15 12:07:30 -07:00
1aa772c265 sysprof: move resources into same base path 2023-07-14 21:08:46 -07:00
f199f26fe9 sysprof: drop libsysprof-gtk and absorb it in sysprof
We are dropping the whole "embed this gtk stuff in your app" model since
that never really worked that well.
2023-07-14 21:06:45 -07:00
6dd8f7014f libsysprof-analyze: add property for counter value as a string 2023-07-14 20:09:05 -07:00
95a7ceb1ae libsysprof-gtk: fix filtering of items in table 2023-07-14 19:28:38 -07:00
9fe9bf80d5 sysprof: setup table of counter values for CPU 2023-07-14 18:00:22 -07:00
0ae27cd7bb libsysprof-analyze: give counter values backpointer and time-offset
That way we can do more things when databinding into the UI such as show
the counter category/name.
2023-07-14 17:52:34 -07:00
b5eec21fbc sysprof: start on CPU section 2023-07-14 17:16:51 -07:00
fa7a4d5c75 sysprof: allow adding chart items from API 2023-07-14 17:09:33 -07:00
c7e1d862ac sysprof: add vfunc for when session is set 2023-07-14 17:09:23 -07:00
ea7fe3c55f libsysprof-gtk: add missing unref func 2023-07-14 17:09:12 -07:00
5e958d9026 libsysprof-gtk: filter items using expression for time
That way we don't require a DocumentFrame.
2023-07-14 17:09:07 -07:00
7b3b37c28e libsysprof-analyze: add key property to counters
this can be handy for filtering.
2023-07-14 16:26:53 -07:00
71fdc220dc libsysprof-gtk: root with symbol when activated 2023-07-14 15:47:50 -07:00
787d02353e sysprof: add indicator to allocations section 2023-07-14 15:18:39 -07:00
83681b2ee3 sysprof: use NULL when n-items is 0 2023-07-14 15:18:28 -07:00
d5cfd4866e sysprof: add sample count as indicator 2023-07-14 15:15:23 -07:00
0afc861b16 libsysprof-gtk: more subtle indicator style 2023-07-14 15:15:03 -07:00
2146e16931 sysprof: add indicators to various sections
This helps seeing at a glance if a recording when a bit sideways.
2023-07-14 15:09:13 -07:00
7ff844d4ec libsysprof-analyze: add bitset index n-items property 2023-07-14 15:07:17 -07:00
866b693ef1 libsysprof-gtk: fix styling of progress cell with backdrop 2023-07-14 14:41:04 -07:00
9e40096675 sysprof: tweak waterfall icon 2023-07-14 14:12:16 -07:00
d5320065c6 sysprof: add a waterfall to the marks section 2023-07-14 13:11:48 -07:00
1ad6f66b9e libsysprof-gtk: improve session model robustness
Handle items-changed, ensure we calculate items-changed at setup time
correctly when late binding is in use.
2023-07-14 13:11:48 -07:00
15df36f6c2 libsysprof-analyze: add tooltip helpers to data models 2023-07-14 13:11:48 -07:00
6afce43cc5 sysprof: remove separator 2023-07-14 11:35:39 -07:00
c81e832a5a sysprof: stub out counters section 2023-07-14 11:29:50 -07:00
668249a015 sysprof: binary search for filtered time range in marks scrubber 2023-07-14 09:58:29 -07:00
791beff1ab libsysprof-gtk: don't zoom on zero-sized marks 2023-07-14 09:55:07 -07:00
6f76432a17 sysprof: add support for bottom up stack traces
Keep the "All Processes" and "Process N" nodes, but reverse the stack
trace after that point.
2023-07-13 21:23:21 -07:00
c059689da1 sysprof: add cpu/pid to log rows
And drop the details section, it's not really helpful here.
2023-07-13 20:31:52 -07:00
4c4caf420a sysprof: make enter work after selection
By just focusing the zoom button.
2023-07-13 20:26:03 -07:00
1eed5a974f libsysprof-gtk: use TimeFilterModel to speed up filter
We are only filtering currently by the time span, so just filter using the
actual timespan filter which can binary search the sorted sets.
2023-07-13 20:19:43 -07:00