Whamcloud - gitweb
Use the newer libsysio tags.
[fs/lustre-release.git] / lustre / portals / libcfs / tracefile.h
1 #ifndef __PORTALS_TRACEFILE_H
2 #define __PORTALS_TRACEFILE_H
3
4 int tracefile_dump_all_pages(char *filename);
5 void trace_debug_print(void);
6 void trace_flush_pages(void);
7 int trace_start_thread(void);
8 void trace_stop_thread(void);
9 int tracefile_init(void);
10 void tracefile_exit(void);
11 int trace_write_daemon_file(struct file *file, const char *buffer,
12                             unsigned long count, void *data);
13 int trace_read_daemon_file(char *page, char **start, off_t off, int count,
14                            int *eof, void *data);
15 int trace_write_debug_mb(struct file *file, const char *buffer,
16                          unsigned long count, void *data);
17 int trace_read_debug_mb(char *page, char **start, off_t off, int count,
18                         int *eof, void *data);
19 int trace_dk(struct file *file, const char *buffer, unsigned long count,
20              void *data);
21
22 #endif /* __PORTALS_TRACEFILE_H */