Whamcloud - gitweb
020c4940893e326bfa3d21f091ad77bc63a28ca8
[fs/lustre-release.git] / libcfs / libcfs / posix / posix-tracefile.h
1 /*
2  * GPL HEADER START
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 only,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License version 2 for more details (a copy is included
14  * in the LICENSE file that accompanied this code).
15  *
16  * You should have received a copy of the GNU General Public License
17  * version 2 along with this program; If not, see
18  * http://www.gnu.org/licenses/gpl-2.0.htm
19  *
20  * GPL HEADER END
21  */
22 /*
23  * libcfs/libcfs/posix/posix-tracefile.h
24  *
25  * Userspace debugging-tracing
26  */
27
28 #ifndef __LIBCFS_POSIX_TRACEFILE_H__
29 #define __LIBCFS_POSIX_TRACEFILE_H__
30
31 /**
32  * three types of trace_data in linux
33  * posix need to max of available types to have 
34  * type checking happy.
35  */
36 typedef enum {
37         CFS_TCD_TYPE_PROC = 0,
38         CFS_TCD_TYPE_SOFTIRQ,
39         CFS_TCD_TYPE_IRQ,
40         CFS_TCD_TYPE_MAX
41 } cfs_trace_buf_type_t;
42
43 #endif