summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibC/sys/kcov.h13
-rw-r--r--Userland/Utilities/kcov-example.cpp2
2 files changed, 1 insertions, 14 deletions
diff --git a/Userland/Libraries/LibC/sys/kcov.h b/Userland/Libraries/LibC/sys/kcov.h
deleted file mode 100644
index f6568a47d7..0000000000
--- a/Userland/Libraries/LibC/sys/kcov.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (c) 2021, Patrick Meyer <git@the-space.agency>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#pragma once
-
-#include <AK/Types.h>
-
-// Note: These need to be kept in sync with Kernel/Devices/KCOVInstance.h
-typedef volatile u64 kcov_pc_t;
-#define KCOV_ENTRY_SIZE sizeof(kcov_pc_t)
diff --git a/Userland/Utilities/kcov-example.cpp b/Userland/Utilities/kcov-example.cpp
index 6f86538667..990a82d83e 100644
--- a/Userland/Utilities/kcov-example.cpp
+++ b/Userland/Utilities/kcov-example.cpp
@@ -4,12 +4,12 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
+#include <Kernel/API/kcov.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/ioctl.h>
-#include <sys/kcov.h>
#include <sys/mman.h>
#include <unistd.h>