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"
|
2020-03-11 04:02:33 +01:00
|
|
|
|
|
|
|
uint32_t coverage;
|
2019-10-09 01:35:47 +02:00
|
|
|
|
2023-02-03 05:39:32 +01:00
|
|
|
void
|
|
|
|
trace_begin(void) {
|
2020-02-06 04:30:31 +01:00
|
|
|
trace_lbr_begin();
|
2019-10-09 01:35:47 +02:00
|
|
|
}
|
|
|
|
|
2023-02-03 05:39:32 +01:00
|
|
|
void
|
|
|
|
trace_end(void) {
|
2020-02-06 04:30:31 +01:00
|
|
|
trace_lbr_end();
|
2019-10-09 01:35:47 +02:00
|
|
|
}
|
2020-03-09 22:03:57 +01:00
|
|
|
|
2023-02-03 05:39:32 +01:00
|
|
|
uint32_t
|
|
|
|
trace_pause(void) {
|
2020-03-09 22:03:57 +01:00
|
|
|
return trace_lbr_pause();
|
|
|
|
}
|
|
|
|
|
2023-02-03 05:39:32 +01:00
|
|
|
void
|
|
|
|
trace_resume(uint32_t value) {
|
2020-03-09 22:03:57 +01:00
|
|
|
trace_lbr_resume(value);
|
|
|
|
}
|