* tapsets.cxx (blacklisted_p): Tolerate NULL filename parameter.
* src/testsuite/semok/twenty.stp: New test to enumerate everything
dwarfly probeable.
+2005-11-08 Frank Ch. Eigler <fche@redhat.com>
+
+ * tapsets.cxx (blacklisted_p): Tolerate NULL filename parameter.
+ * src/testsuite/semok/twenty.stp: New test to enumerate everything
+ dwarfly probeable.
+
2005-11-08 Frank Ch. Eigler <fche@redhat.com>
* translate.cxx (c_unparser::visit_foreach_loop): With PR 1275
// 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) ||
--- /dev/null
+#! stap -p2
+
+probe kernel.function("*") {}
+probe module("*").function("*") {}
+probe kernel.function("*").return {}
+probe module("*").function("*").return {}
+probe kernel.inline("*") {}
+probe module("*").inline("*") {}