int jfs_txanchor_proc_show(struct seq_file *m, void *v);
/* information message: e.g., configuration, major event */ #define jfs_info(fmt, arg...) do { \ if (jfsloglevel >= JFS_LOGLEVEL_INFO) \
printk(KERN_INFO fmt "\n", ## arg); \
} while (0)
/* debug message: ad hoc */ #define jfs_debug(fmt, arg...) do { \ if (jfsloglevel >= JFS_LOGLEVEL_DEBUG) \
printk(KERN_DEBUG fmt "\n", ## arg); \
} while (0)
/* warn message: */ #define jfs_warn(fmt, arg...) do { \ if (jfsloglevel >= JFS_LOGLEVEL_WARN) \
printk(KERN_WARNING fmt "\n", ## arg); \
} while (0)
/* error event message: e.g., i/o error */ #define jfs_err(fmt, arg...) do { \ if (jfsloglevel >= JFS_LOGLEVEL_ERR) \
printk(KERN_ERR fmt "\n", ## arg); \
} while (0)
/* * debug OFF * ---------
*/ #else/* CONFIG_JFS_DEBUG */ #define ASSERT(p) do {} while (0) #define jfs_info(fmt, arg...) do {} while (0) #define jfs_debug(fmt, arg...) do {} while (0) #define jfs_warn(fmt, arg...) do {} while (0) #define jfs_err(fmt, arg...) do {} while (0) #endif/* CONFIG_JFS_DEBUG */
/* * statistics * ----------
*/ #ifdef CONFIG_JFS_STATISTICS int jfs_lmstats_proc_show(struct seq_file *m, void *v); int jfs_txstats_proc_show(struct seq_file *m, void *v); int jfs_mpstat_proc_show(struct seq_file *m, void *v); int jfs_xtstat_proc_show(struct seq_file *m, void *v);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.