From 2fd2c46ca19c8d995d2376ab8ca1d3e62fb6f43e Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 9 Sep 2011 09:05:09 +0200 Subject: [PATCH] Remove CONFIG_UTRACE check in pass 2 (dwarfbuilder). pass 4 (buildrun) already checks for CONFIG_UTRACE, so remove it from pass 2 (dwarfbuilder) so scripts containing process() probes can at least be semantically checked and inspected with stap -l on arches that don't have utrace yet. --- tapsets.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/tapsets.cxx b/tapsets.cxx index 633597ae1..dac2d98df 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -6261,9 +6261,6 @@ dwarf_builder::build(systemtap_session & sess, else module_name = user_path; // canonicalize it - if (sess.kernel_config["CONFIG_UTRACE"] != string("y")) - throw semantic_error (_("process probes not available without kernel CONFIG_UTRACE")); - // user-space target; we use one dwflpp instance per module name // (= program or shared library) dw = get_user_dw(sess, module_name); -- 2.43.5