From 74a588bbd1fab77ca50d8b956d7a5b3c33ac5bcd Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 23 Aug 2005 15:45:10 +0000 Subject: [PATCH] add eventdefs exclusion in open_tracefiles git-svn-id: http://ltt.polymtl.ca/svn@1061 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/tracefile.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.34.1