static struct mod_paths {
char *name, *path;
} mod_paths[] = {
- { "libcfs", "libcfs/libcfs" },
- { "lnet", "lnet/lnet" },
- { "ko2iblnd", "lnet/klnds/o2iblnd" },
- { "kgnilnd", "lnet/klnds/gnilnd"},
- { "ksocklnd", "lnet/klnds/socklnd" },
- { "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" },
- { "lustre", "lustre/llite" },
- { "ldiskfs", "ldiskfs" },
- { "obdecho", "lustre/obdecho" },
- { "ldlm", "lustre/ldlm" },
- { "obdfilter", "lustre/obdfilter" },
- { "lov", "lustre/lov" },
- { "lmv", "lustre/lmv" },
- { "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"},
- {"lod", "lustre/lod"},
- {"osp", "lustre/osp"},
- { "lfsck", "lustre/lfsck" },
- {NULL, NULL}
+ { .name = "libcfs", .path = "libcfs/libcfs" },
+ { .name = "lnet", .path = "lnet/lnet" },
+ { .name = "ko2iblnd", .path = "lnet/klnds/o2iblnd" },
+ { .name = "kgnilnd", .path = "lnet/klnds/gnilnd"},
+ { .name = "ksocklnd", .path = "lnet/klnds/socklnd" },
+ { .name = "obdclass", .path = "lustre/obdclass" },
+ { .name = "llog_test", .path = "lustre/obdclass" },
+ { .name = "ptlrpc_gss", .path = "lustre/ptlrpc/gss" },
+ { .name = "ptlrpc", .path = "lustre/ptlrpc" },
+ { .name = "gks", .path = "lustre/sec/gks" },
+ { .name = "gkc", .path = "lustre/sec/gks" },
+ { .name = "ost", .path = "lustre/ost" },
+ { .name = "osc", .path = "lustre/osc" },
+ { .name = "mds", .path = "lustre/mds" },
+ { .name = "mdc", .path = "lustre/mdc" },
+ { .name = "lustre", .path = "lustre/llite" },
+ { .name = "ldiskfs", .path = "ldiskfs" },
+ { .name = "obdecho", .path = "lustre/obdecho" },
+ { .name = "ldlm", .path = "lustre/ldlm" },
+ { .name = "obdfilter", .path = "lustre/obdfilter" },
+ { .name = "lov", .path = "lustre/lov" },
+ { .name = "lmv", .path = "lustre/lmv" },
+ { .name = "lquota", .path = "lustre/quota" },
+ { .name = "mgs", .path = "lustre/mgs" },
+ { .name = "mgc", .path = "lustre/mgc" },
+ { .name = "mdt", .path = "lustre/mdt" },
+ { .name = "mdd", .path = "lustre/mdd" },
+ { .name = "osd", .path = "lustre/osd" },
+ { .name = "cmm", .path = "lustre/cmm" },
+ { .name = "fid", .path = "lustre/fid"},
+ { .name = "fld", .path = "lustre/fld"},
+ { .name = "lod", .path = "lustre/lod"},
+ { .name = "osp", .path = "lustre/osp"},
+ { .name = "lfsck", .path = "lustre/lfsck" },
+ { .name = NULL }
};
int jt_dbg_modules(int argc, char **argv)