757d36ae8e
Cleanup the build a bit
...
Makes the Meson build a little bit better and cleans up some of the
formatting.
2022-05-25 14:07:02 -05:00
dacf2ad2b3
build: fix warning
2020-07-06 16:08:44 -07:00
e8790bc3d6
build: Add more Meson options for disabling parts of the build
...
This is all aimed at making it so that sysprof can be built as a
subproject within GLib, with only `libsysprof-capture-4.a` being
produced as output.
Signed-off-by: Philip Withnall <withnall@endlessm.com >
2020-07-03 22:01:33 +01:00
dbcf318096
examples: Add missing dependency on glib-2.0
...
It has previously been implicitly pulled in by libsysprof-capture, but
that will change in future.
Signed-off-by: Philip Withnall <withnall@endlessm.com >
Helps: #40
2020-07-02 21:07:11 +01:00
96ac1ae586
examples: Clarify that envvar isn’t unset after being used
...
Perhaps that was how sysprof used to behave, but it doesn’t seem to
behave like that now.
Signed-off-by: Philip Withnall <withnall@endlessm.com >
2020-06-25 14:58:01 +01:00
2c216fcff9
examples: Fix a typo in a string
...
Signed-off-by: Philip Withnall <withnall@endlessm.com >
2020-06-23 12:41:25 +01:00
af6308971d
examples: Drop sysprof_clock_init() call from example
...
It’s implicitly called when setting up the `SysprofCaptureWriter`.
Signed-off-by: Philip Withnall <withnall@endlessm.com >
2020-06-23 12:41:25 +01:00
991e03ba67
examples: initialize sysprof clock
2019-07-17 17:28:40 -07:00
d25975cf89
examples: only use sched_getcpu() on Linux
2019-06-03 17:29:47 -07:00
dbb6b9143f
examples: add example app for marks
2019-06-03 11:39:56 -07:00