Commit Graph

2116 Commits

Author SHA1 Message Date
a12ffbc063 sysprof: move window menu to primary section
That way it's available when the sidebar is collapsed.
2023-07-18 17:21:04 -07:00
e28d5b7348 sysprof: clamp rectangle to visible area 2023-07-18 16:36:53 -07:00
93255a25f0 sysprof: make scheduler process until deadline elapsed
We don't need to return to the mainloop until our deadline elapses, even
if that source didn't finish processing.
2023-07-18 16:25:56 -07:00
8dd7478e96 janitorial: move dbus service files into sysprofd
This is the only place they are really used directly, so keep them there.
2023-07-18 16:13:01 -07:00
8a631d8f88 janitorial: remove unused files 2023-07-18 16:10:43 -07:00
44b2b9d31e sysprof: make some instruments active by default 2023-07-17 18:05:54 -07:00
e666c4a8b8 sysprof: allow toggling bundled symbols in greeter 2023-07-17 17:59:14 -07:00
59b6165816 libsysprof-analyze: do not symbolize fallback symbols
These just waste a bunch of space in the capture file and we can instead
generate them on the fly when loading the document.
2023-07-17 17:51:03 -07:00
4d92cf3424 libsysprof-profile: only bundle ELF symbols
The rest can be decoded already using content we have in our syscap.
2023-07-17 17:41:15 -07:00
2dbf6553b4 libsysprof-profile: add instrument to bundle symbols
This instrument does as our previous symbols_source did and will augment
the capture with additional symbols that improves the chances you'll get
proper symbolization on machines that did not create the capture.
2023-07-17 17:37:32 -07:00
dbabe87b3d libsysprof-analyze: add API to serialize symbol cache
This will allow us to put the symbol cache back in the __symbols__ file
like we did for online symbol resolution in previous versions.
2023-07-17 17:35:34 -07:00
a701b03b03 libsysprof-analyze: format header 2023-07-17 16:05:25 -07:00
29fd9e9cc0 sysprof-cli: port to libsysprof-profile 2023-07-17 15:35:47 -07:00
1fba250444 build: drop legacy v2 service and simplify build system
This removes -Dagent and just uses -Dtools as it only affects sysprof-cli
and sysprof-agent. We still need to patch sysprof-cli for recent changes
as we did for sysprof-agent though.

Additionally, we haven't used the v2 service in forever, so drop that as
I can't imagine anyone has been using it.
2023-07-17 15:11:10 -07:00
72be6491b6 sysprof: allow creation of process dialog from table 2023-07-17 14:55:07 -07:00
93900265f1 sysprof: improve incremental items-changed updates
This way we get updates as the series is processed.
2023-07-17 14:42:46 -07:00
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