umka/trace.c

32 lines
435 B
C
Raw Normal View History

2022-06-27 19:36:56 +02:00
/*
SPDX-License-Identifier: GPL-2.0-or-later
UMKa - User-Mode KolibriOS developer tools
Copyright (C) 2019-2020 Ivan Baravy <dunkaist@gmail.com>
*/
2019-10-09 01:35:47 +02:00
#include "trace_lbr.h"
uint32_t coverage;
2019-10-09 01:35:47 +02:00
void
trace_begin(void) {
2020-02-06 04:30:31 +01:00
trace_lbr_begin();
2019-10-09 01:35:47 +02:00
}
void
trace_end(void) {
2020-02-06 04:30:31 +01:00
trace_lbr_end();
2019-10-09 01:35:47 +02:00
}
uint32_t
trace_pause(void) {
return trace_lbr_pause();
}
void
trace_resume(uint32_t value) {
trace_lbr_resume(value);
}