Luna/kernel/include/trace/StackTracer.h

13 lines
215 B
C++

#pragma once
#include <stdint.h>
struct StackTracer
{
StackTracer();
StackTracer(uintptr_t base_pointer);
void trace();
void trace_with_ip(uintptr_t ip);
private:
uintptr_t m_base_pointer;
};