Update version-controlled scripts for bash
[akaros.git] / kern / include / profiler.h
index aedd748..7fa9504 100644 (file)
@@ -14,14 +14,15 @@ struct file;
 struct cmdbuf;
 
 int profiler_configure(struct cmdbuf *cb);
-const char * const *profiler_configure_cmds(void);
+void profiler_append_configure_usage(char *msgbuf, size_t buflen);
 void profiler_init(void);
 void profiler_setup(void);
 void profiler_cleanup(void);
+void profiler_start(void);
+void profiler_stop(void);
 void profiler_add_kernel_backtrace(uintptr_t pc, uintptr_t fp, uint64_t info);
 void profiler_add_user_backtrace(uintptr_t pc, uintptr_t fp, uint64_t info);
 void profiler_add_trace(uintptr_t pc, uint64_t info);
-void profiler_control_trace(int onoff);
 void profiler_trace_data_flush(void);
 void profiler_add_hw_sample(struct hw_trapframe *hw_tf, uint64_t info);
 int profiler_size(void);