t/service: Try to raise priority and privilege on Windows

This commit is contained in:
Jakob Bornecrantz 2022-11-24 20:02:19 +00:00
parent 3b465b4241
commit 6fc6968387

View file

@ -8,9 +8,16 @@
* @ingroup ipc
*/
#include "xrt/xrt_config_os.h"
#include "util/u_metrics.h"
#include "util/u_logging.h"
#include "util/u_trace_marker.h"
#ifdef XRT_OS_WINDOWS
#include "util/u_windows.h"
#endif
#include "target_lists.h"
@ -24,6 +31,10 @@ ipc_server_main(int argc, char *argv[]);
int
main(int argc, char *argv[])
{
#ifdef XRT_OS_WINDOWS
u_win_try_privilege_or_priority_from_args(U_LOGGING_INFO, argc, argv);
#endif
u_trace_marker_init();
u_metrics_init();