+static struct mod_paths {
+ char *name, *path;
+} mod_paths[] = {
+ {"libcfs", "libcfs/libcfs"},
+ {"lnet", "lnet/lnet"},
+ {"kciblnd", "lnet/klnds/ciblnd"},
+ {"kgmlnd", "lnet/klnds/gmlnd"},
+ {"kmxlnd", "lnet/klnds/mxlnd"},
+ {"kiiblnd", "lnet/klnds/iiblnd"},
+ {"ko2iblnd", "lnet/klnds/o2iblnd"},
+ {"kopeniblnd", "lnet/klnds/openiblnd"},
+ {"kptllnd", "lnet/klnds/ptllnd"},
+ {"kqswlnd", "lnet/klnds/qswlnd"},
+ {"kralnd", "lnet/klnds/ralnd"},
+ {"ksocklnd", "lnet/klnds/socklnd"},
+ {"ktdilnd", "lnet/klnds/tdilnd"},
+ {"kviblnd", "lnet/klnds/viblnd"},
+ {"lvfs", "lustre/lvfs"},
+ {"obdclass", "lustre/obdclass"},
+ {"llog_test", "lustre/obdclass"},
+ {"ptlrpc_gss", "lustre/ptlrpc/gss"},
+ {"ptlrpc", "lustre/ptlrpc"},
+ {"gks", "lustre/sec/gks"},
+ {"gkc", "lustre/sec/gks"},
+ {"ost", "lustre/ost"},
+ {"osc", "lustre/osc"},
+ {"mds", "lustre/mds"},
+ {"mdc", "lustre/mdc"},
+ {"llite", "lustre/llite"},
+ {"lustre", "lustre/llite"},
+ {"llite_lloop", "lustre/llite"},
+ {"ldiskfs", "ldiskfs/ldiskfs"},
+ {"smfs", "lustre/smfs"},
+ {"obdecho", "lustre/obdecho"},
+ {"ldlm", "lustre/ldlm"},
+ {"obdfilter", "lustre/obdfilter"},
+ {"lov", "lustre/lov"},
+ {"lmv", "lustre/lmv"},
+ {"fsfilt_ext3", "lustre/lvfs"},
+ {"fsfilt_reiserfs", "lustre/lvfs"},
+ {"fsfilt_smfs", "lustre/lvfs"},
+ {"fsfilt_ldiskfs", "lustre/lvfs"},
+ {"mds_ext3", "lustre/mds"},
+ {"cobd", "lustre/cobd"},
+ {"cmobd", "lustre/cmobd"},
+ {"lquota", "lustre/quota"},
+ {"mgs", "lustre/mgs"},
+ {"mgc", "lustre/mgc"},
+ {"mdt", "lustre/mdt"},
+ {"mdd", "lustre/mdd"},
+ {"osd", "lustre/osd"},
+ {"cmm", "lustre/cmm"},
+ {"fid", "lustre/fid"},
+ {"fld", "lustre/fld"},
+ {NULL, NULL}
+};
+
+static int jt_dbg_modules_2_4(int argc, char **argv)
+{
+ return -EINVAL;
+}
+
+static int jt_dbg_modules_2_5(int argc, char **argv)