hle: kernel: Add k_trace module.

This commit is contained in:
bunnei 2021-03-19 23:03:57 -07:00
parent 5762517728
commit f2e1441567
2 changed files with 13 additions and 0 deletions

View file

@ -204,6 +204,7 @@ add_library(core STATIC
hle/kernel/k_thread.cpp
hle/kernel/k_thread.h
hle/kernel/k_thread_queue.h
hle/kernel/k_trace.h
hle/kernel/k_writable_event.cpp
hle/kernel/k_writable_event.h
hle/kernel/kernel.cpp

View file

@ -0,0 +1,12 @@
// Copyright 2021 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
namespace Kernel {
constexpr bool IsKTraceEnabled = false;
constexpr std::size_t KTraceBufferSize = IsKTraceEnabled ? 16 * 1024 * 1024 : 0;
} // namespace Kernel