aboutsummaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-03-22 22:55:58 +0100
committerKarel Kočí <cynerd@email.cz>2015-03-22 22:55:58 +0100
commit142cda87246f3282b32ddea3e5ea579aef98ef59 (patch)
tree1c57b4f87f4b6456ea672ee25579a852dc99b34b /programs
parent1e7efbabd3d9d90a0a63b056d26e71331cd7dd3f (diff)
downloadlinux-conf-perf-142cda87246f3282b32ddea3e5ea579aef98ef59.tar.gz
linux-conf-perf-142cda87246f3282b32ddea3e5ea579aef98ef59.tar.bz2
linux-conf-perf-142cda87246f3282b32ddea3e5ea579aef98ef59.zip
kconfig_parser raise debug verbose level to 3 and add id print to "working.." message
Diffstat (limited to 'programs')
-rw-r--r--programs/src/kconfig_parser/kconfig_parser.c8
-rw-r--r--programs/src/kconfig_parser/macros.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/programs/src/kconfig_parser/kconfig_parser.c b/programs/src/kconfig_parser/kconfig_parser.c
index ef49551..a0425db 100644
--- a/programs/src/kconfig_parser/kconfig_parser.c
+++ b/programs/src/kconfig_parser/kconfig_parser.c
@@ -88,11 +88,11 @@ void cpy_dep() {
for_all_symbols(i, sym) {
if ((sym->type == S_BOOLEAN || sym->type == S_TRISTATE)
&& strstr(sym->name, "NONAMEGEN") == NULL) {
- Iprintf("working: %s\n", sym->name);
-
el = symlist_find(gsymlist, sym->name);
+ Iprintf("working: %s(%d)\n", sym->name, el->id);
+
if (sym->dir_dep.expr != NULL) {
- if (verbose_level > 2)
+ if (verbose_level > 3)
printf_original(gsymlist, sym->dir_dep.expr);
el->be = kconfig_cnfexpr(gsymlist, false, sym->dir_dep.expr);
Iprintf("Direct:\n");
@@ -100,7 +100,7 @@ void cpy_dep() {
cnf_printf(el->be);
}
if (sym->rev_dep.expr != NULL) {
- if (verbose_level > 2)
+ if (verbose_level > 3)
printf_original(gsymlist, sym->rev_dep.expr);
el->re_be = kconfig_cnfexpr(gsymlist, true, sym->rev_dep.expr);
Iprintf("Revers:\n");
diff --git a/programs/src/kconfig_parser/macros.h b/programs/src/kconfig_parser/macros.h
index 6044f31..13a5d43 100644
--- a/programs/src/kconfig_parser/macros.h
+++ b/programs/src/kconfig_parser/macros.h
@@ -7,5 +7,5 @@ extern int verbose_level; // Defined in kconfig_parser.c
#ifndef DEBUG
#define Dprintf(...)
#else
-#define Dprintf(...) if (verbose_level > 2) printf(a, __VA_ARGS__)
+#define Dprintf(...) if (verbose_level > 3) printf(a, __VA_ARGS__)
#endif /* DEBUG */