Revision: 1380
Author: [email protected]
Date: Mon Oct 11 13:15:28 2010
Log: reduce trace level for per-file messages related to src code
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1380
Modified:
/trunk/NYTProf.xs
=======================================
--- /trunk/NYTProf.xs Sat Oct 2 14:19:06 2010
+++ /trunk/NYTProf.xs Mon Oct 11 13:15:28 2010
@@ -3462,7 +3462,7 @@
++t_no_src;
if (src_av && av_len(src_av) > -1) /* sanity check */
hint = " (NYTP_FIDf_HAS_SRC not set but src available!)";
- if (trace_level >= 4 || *hint)
+ if (trace_level >= 3 || *hint)
logwarn("fid %d has no src saved for %.*s%s\n",
e->id, e->key_len, e->key, hint);
continue;
@@ -3481,7 +3481,7 @@
++t_save_src;
lines = av_len(src_av); /* -1 is empty, 1 is 1 line etc, 0
shouldn't happen */
- if (trace_level >= 4)
+ if (trace_level >= 3)
logwarn("fid %d has %ld src lines for %.*s\n",
e->id, (long)lines, e->key_len, e->key);
for (line = 1; line <= lines; ++line) { /* lines start at 1 */
--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]