masklog.h (8990c1bc4be46473ad19bf2fa612ca57286f3df4) masklog.h (41b41a26d4d6e4e3ad877d02377844ab9552dc16)
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * Copyright (C) 2005 Oracle. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License as published by the Free Software Foundation; either

--- 67 unchanged lines hidden (view full) ---

76 *
77 * debugfs.ocfs2 -l TCP allow
78 */
79
80/* for task_struct */
81#include <linux/sched.h>
82
83/* bits that are frequently given and infrequently matched in the low word */
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * Copyright (C) 2005 Oracle. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License as published by the Free Software Foundation; either

--- 67 unchanged lines hidden (view full) ---

76 *
77 * debugfs.ocfs2 -l TCP allow
78 */
79
80/* for task_struct */
81#include <linux/sched.h>
82
83/* bits that are frequently given and infrequently matched in the low word */
84/* NOTE: If you add a flag, you need to also update mlog.c! */
84/* NOTE: If you add a flag, you need to also update masklog.c! */
85#define ML_ENTRY 0x0000000000000001ULL /* func call entry */
86#define ML_EXIT 0x0000000000000002ULL /* func call exit */
87#define ML_TCP 0x0000000000000004ULL /* net cluster/tcp.c */
88#define ML_MSG 0x0000000000000008ULL /* net network messages */
89#define ML_SOCKET 0x0000000000000010ULL /* net socket lifetime */
90#define ML_HEARTBEAT 0x0000000000000020ULL /* hb all heartbeat tracking */
91#define ML_HB_BIO 0x0000000000000040ULL /* hb io tracing */
92#define ML_DLMFS 0x0000000000000080ULL /* dlm user dlmfs */

--- 16 unchanged lines hidden (view full) ---

109#define ML_VOTE 0x0000000001000000ULL /* ocfs2 node messaging */
110#define ML_DCACHE 0x0000000002000000ULL /* ocfs2 dcache operations */
111#define ML_CONN 0x0000000004000000ULL /* net connection management */
112#define ML_QUORUM 0x0000000008000000ULL /* net connection quorum */
113#define ML_EXPORT 0x0000000010000000ULL /* ocfs2 export operations */
114#define ML_XATTR 0x0000000020000000ULL /* ocfs2 extended attributes */
115#define ML_QUOTA 0x0000000040000000ULL /* ocfs2 quota operations */
116#define ML_REFCOUNT 0x0000000080000000ULL /* refcount tree operations */
85#define ML_ENTRY 0x0000000000000001ULL /* func call entry */
86#define ML_EXIT 0x0000000000000002ULL /* func call exit */
87#define ML_TCP 0x0000000000000004ULL /* net cluster/tcp.c */
88#define ML_MSG 0x0000000000000008ULL /* net network messages */
89#define ML_SOCKET 0x0000000000000010ULL /* net socket lifetime */
90#define ML_HEARTBEAT 0x0000000000000020ULL /* hb all heartbeat tracking */
91#define ML_HB_BIO 0x0000000000000040ULL /* hb io tracing */
92#define ML_DLMFS 0x0000000000000080ULL /* dlm user dlmfs */

--- 16 unchanged lines hidden (view full) ---

109#define ML_VOTE 0x0000000001000000ULL /* ocfs2 node messaging */
110#define ML_DCACHE 0x0000000002000000ULL /* ocfs2 dcache operations */
111#define ML_CONN 0x0000000004000000ULL /* net connection management */
112#define ML_QUORUM 0x0000000008000000ULL /* net connection quorum */
113#define ML_EXPORT 0x0000000010000000ULL /* ocfs2 export operations */
114#define ML_XATTR 0x0000000020000000ULL /* ocfs2 extended attributes */
115#define ML_QUOTA 0x0000000040000000ULL /* ocfs2 quota operations */
116#define ML_REFCOUNT 0x0000000080000000ULL /* refcount tree operations */
117#define ML_BASTS 0x0000001000000000ULL /* dlmglue asts and basts */
117#define ML_BASTS 0x0000000100000000ULL /* dlmglue asts and basts */
118#define ML_RESERVATIONS 0x0000000200000000ULL /* ocfs2 alloc reservations */
119#define ML_CLUSTER 0x0000000400000000ULL /* cluster stack */
120
118/* bits that are infrequently given and frequently matched in the high word */
121/* bits that are infrequently given and frequently matched in the high word */
119#define ML_ERROR 0x0000000100000000ULL /* sent to KERN_ERR */
120#define ML_NOTICE 0x0000000200000000ULL /* setn to KERN_NOTICE */
121#define ML_KTHREAD 0x0000000400000000ULL /* kernel thread activity */
122#define ML_RESERVATIONS 0x0000000800000000ULL /* ocfs2 alloc reservations */
123#define ML_CLUSTER 0x0000001000000000ULL /* cluster stack */
122#define ML_ERROR 0x1000000000000000ULL /* sent to KERN_ERR */
123#define ML_NOTICE 0x2000000000000000ULL /* setn to KERN_NOTICE */
124#define ML_KTHREAD 0x4000000000000000ULL /* kernel thread activity */
124
125#define MLOG_INITIAL_AND_MASK (ML_ERROR|ML_NOTICE)
126#define MLOG_INITIAL_NOT_MASK (ML_ENTRY|ML_EXIT)
127#ifndef MLOG_MASK_PREFIX
128#define MLOG_MASK_PREFIX 0
129#endif
130
131/*

--- 158 unchanged lines hidden ---
125
126#define MLOG_INITIAL_AND_MASK (ML_ERROR|ML_NOTICE)
127#define MLOG_INITIAL_NOT_MASK (ML_ENTRY|ML_EXIT)
128#ifndef MLOG_MASK_PREFIX
129#define MLOG_MASK_PREFIX 0
130#endif
131
132/*

--- 158 unchanged lines hidden ---