build: add libsysprof-capture-2 static library

This allows external tooling to write capture files that Sysprof can open.
Ideally, this will get used by GJS in the near future to implement profiler
output for Sysprof.
This commit is contained in:
Christian Hergert
2018-01-20 01:30:39 -08:00
parent 6fa95dfb6f
commit 469d54df5b
6 changed files with 71 additions and 5 deletions

View File

@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sysprof.h>
#include <sysprof-capture.h>
#define NSEC_PER_SEC G_GINT64_CONSTANT(1000000000)