From: compudj Date: Tue, 23 Aug 2005 15:45:10 +0000 (+0000) Subject: add eventdefs exclusion in open_tracefiles X-Git-Tag: v0.12.20~2428 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=74a588bbd1fab77ca50d8b956d7a5b3c33ac5bcd;p=lttv.git add eventdefs exclusion in open_tracefiles git-svn-id: http://ltt.polymtl.ca/svn@1061 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 6fe13f1d..9da89781 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -679,6 +679,8 @@ static int open_tracefiles(LttTrace *trace, gchar *root_path, g_debug("Tracefile file or directory : %s\n", path); + if(strcmp(rel_path, "/eventdefs") == 0) continue; + if(S_ISDIR(stat_buf.st_mode)) { g_debug("Entering subdirectory...\n");