diff options
author | Russell Belfer <rb@github.com> | 2014-04-30 02:05:58 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-05-02 20:21:33 +0400 |
commit | 9c8ed4999740e921ecc2966bbcd0dbcfc725f59a (patch) | |
tree | cf801e2026c9fca6b4e28bfc2c35e981d9ccea6e /src/iterator.c | |
parent | 7a2e56a3f6115c3a145e4f73d0aa8bea6dded899 (diff) |
Remove trace / add git_diff_perfdata struct + api
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/iterator.c b/src/iterator.c index 0d7e5918d..4f8087c8d 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -11,7 +11,6 @@ #include "ignore.h" #include "buffer.h" #include "submodule.h" -#include "trace.h" #include <ctype.h> #define ITERATOR_SET_CB(P,NAME_LC) do { \ @@ -1017,8 +1016,7 @@ static int fs_iterator__expand_dir(fs_iterator *fi) fs_iterator__free_frame(ff); return GIT_ENOTFOUND; } - - git_trace(GIT_TRACE_PERF, &ff->entries.length, "stat"); + fi->base.stat_calls += ff->entries.length; fs_iterator__seek_frame_start(fi, ff); @@ -1310,7 +1308,6 @@ static int workdir_iterator__enter_dir(fs_iterator *fi) if (!S_ISDIR(entry->st.st_mode) || !strcmp(GIT_DIR, entry->path)) continue; - git_trace(GIT_TRACE_PERF, entry->path, "submodule_lookup"); if (git_submodule__is_submodule(fi->base.repo, entry->path)) { entry->st.st_mode = GIT_FILEMODE_COMMIT; entry->path_len--; |