1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KERNEL_SYSTEM_PROFILER_H 6 #define _KERNEL_SYSTEM_PROFILER_H 7 8 #include <sys/cdefs.h> 9 10 #include <OS.h> 11 12 13 struct system_profiler_parameters; 14 15 16 __BEGIN_DECLS 17 18 status_t _user_system_profiler_start( 19 struct system_profiler_parameters* parameters); 20 status_t _user_system_profiler_next_buffer(size_t bytesRead, 21 uint64* _droppedEvents); 22 status_t _user_system_profiler_stop(); 23 24 __END_DECLS 25 26 27 #endif /* _KERNEL_SYSTEM_PROFILER_H */ 28