summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys/kcov.h
blob: f6568a47d7475554f9f1814e6fb336ad536d0deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * 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)