mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
t/service: Add metrics support
This commit is contained in:
parent
7fa20a8b46
commit
f0cbb8a7aa
|
@ -8,6 +8,7 @@
|
||||||
* @ingroup ipc
|
* @ingroup ipc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "util/u_metrics.h"
|
||||||
#include "util/u_trace_marker.h"
|
#include "util/u_trace_marker.h"
|
||||||
|
|
||||||
#include "target_lists.h"
|
#include "target_lists.h"
|
||||||
|
@ -24,6 +25,11 @@ int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
u_trace_marker_init();
|
u_trace_marker_init();
|
||||||
|
u_metrics_init();
|
||||||
|
|
||||||
return ipc_server_main(argc, argv);
|
int ret = ipc_server_main(argc, argv);
|
||||||
|
|
||||||
|
u_metrics_close();
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue