kernel: profiling infrastructure

This commit is contained in:
Matheus
2025-12-05 18:19:42 -03:00
parent d10295dcdf
commit 40bbf217ee
19 changed files with 595 additions and 3 deletions
+1
View File
@@ -20,6 +20,7 @@
#define DEV_MAJOR_MOUSE 11
#define DEV_MAJOR_PTY 12
#define DEV_MAJOR_ACPI 13
#define DEV_MAJOR_PROF 14
typedef struct {
int (*open)(int minor, vnode_t **vnode, int flags);
+6
View File
@@ -0,0 +1,6 @@
#ifndef _PROF_H
#define _PROF_H
void profiling_insert(uint8_t size, void *data);
#endif