diff options
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 7b0d2b78..d9a75340 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1710,7 +1710,8 @@ dwarf_query::blacklisted_p(string const & funcname, // properly generalized, perhaps via a table populated from script // files. A "noprobe kernel.function("...")" construct might do // the trick. - string filename_s = filename ? filename : ""; // is passed as const char* + if (filename == 0) filename = ""; // possibly 0 + string filename_s = filename; // is passed as const char* if (funcname == "do_IRQ" || filename_s == "kernel/kprobes.c" || 0 == fnmatch ("arch/*/kernel/kprobes.c", filename, 0) || |