]> sourceware.org Git - systemtap.git/commitdiff
Remove CONFIG_UTRACE check in pass 2 (dwarfbuilder).
authorMark Wielaard <mjw@redhat.com>
Fri, 9 Sep 2011 07:05:09 +0000 (09:05 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 9 Sep 2011 07:05:09 +0000 (09:05 +0200)
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

index 633597ae1fff3f93e3ca1fd92cf48c6541ac92c2..dac2d98df63ad9c7203f0bf59055435f98ad20bc 100644 (file)
@@ -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);
This page took 0.036537 seconds and 5 git commands to generate.