mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: profiling infrastructure
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef _PROF_H
|
||||
#define _PROF_H
|
||||
|
||||
void profiling_insert(uint8_t size, void *data);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user