summaryrefslogtreecommitdiff
path: root/output.c
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-05-01 17:21:55 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commit643375a758fd1d9f4cf0f5c595fc1b04db7a7734 (patch)
tree5efb897dfe33132dcce2abd994d116a76ae518ac /output.c
parenteea2706b43331cc9a81883471e2eccc2ae87b32f (diff)
downloadltrace-643375a758fd1d9f4cf0f5c595fc1b04db7a7734.tar.gz
ltrace-643375a758fd1d9f4cf0f5c595fc1b04db7a7734.tar.bz2
ltrace-643375a758fd1d9f4cf0f5c595fc1b04db7a7734.zip
added a bit more diagnostic printing
Diffstat (limited to 'output.c')
-rw-r--r--output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/output.c b/output.c
index e3a5f2b..cc45e52 100644
--- a/output.c
+++ b/output.c
@@ -50,6 +50,7 @@
#include "value.h"
#include "value_dict.h"
#include "filter.h"
+#include "debug.h"
#if defined(HAVE_LIBDW)
#include "dwarf_prototypes.h"
@@ -220,6 +221,9 @@ library_get_prototype(struct library *lib, const char *name)
filter_matches_library(options.static_filter, lib ) ||
filter_matches_library(options.export_filter, lib )))
import_DWARF_prototypes(lib);
+ else
+ debug(DEBUG_FUNCTION, "Filter didn't match prototype '%s' in lib '%s'. Not importing",
+ name, lib->soname);
#endif
if (lib->protolib == NULL)