fb81867bf5
libsysprof-profiler: start on perf instrument
...
This starts porting the old perf code from libsysprof into
libsysprof-profile. It does not bring over tracepoints yet, because we
need to think about how we want to support that. I may opt to do that as
a separate instrument even if that takes an additional perf fd.
2023-06-03 23:14:14 -07:00
0288e937e4
libsysprof-profile: add SysprofMemoryUsage
...
Ports sysprof-memory-source.c to the new SysprofInstrument API.
2023-06-02 18:01:18 -07:00
1a3facf6ff
libsysprof-profiler: allow specifying test-profiler argv
...
You can `./test-profiler -- ls -lsah` to profile a subprocess and have
the profiler exit when the subprocess exits.
2023-06-02 16:50:41 -07:00
728a9ce86a
libsysprof-profiler: add scaffolding for disk usage
...
This still needs porting from libsysprof, but this gets the scaffolding in
place to bring over those counters.
2023-06-02 13:38:03 -07:00
fd40e940d3
libsysprof-profile: add network usage instrument
2023-05-31 22:43:33 -07:00
52684c7a12
libsysprof-profile: start on cpu usage instrument
...
The goal here is to do the whole thing on a fiber rather than how we were
doing it before. This just gets the counter registration going, but we
need to follow up with the parsing/lseek/etc code.
2023-05-30 18:41:56 -07:00
b4e6f7c915
libsysprof-profile: add recording session fiber
...
Setup instrument policy, preparation, etc.
2023-05-26 15:05:29 -07:00
731841a523
libsysprof-profile: wait for recording and seutp ctrl+c
2023-05-25 17:25:13 -07:00
7fb77ee01d
libsysprof-profile: create writer and test record
2023-05-25 17:17:25 -07:00
d3fe382954
libsysprof-profile: add test-profiler
2023-05-25 17:10:37 -07:00
24b876f437
libsysprof-profile: stub out libsysprof-profile library
...
This does the same thing as we did for libsysprof-analyze, but to contain
the profiler bits that will be used from applications/etc.
2023-05-25 15:43:53 -07:00