summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-21 19:57:59 -0700
committerJosh Stone <jistone@redhat.com>2009-04-21 19:57:59 -0700
commit9ccda279d763ef16ac20e171b3136d1741d07014 (patch)
tree251935da6e07b6ab1b3ea64677f6bcdd10b67561 /buildrun.cxx
parent43e8f8d02ab60eb24b6d8cba1105ef92a080e5f1 (diff)
downloadsystemtap-steved-9ccda279d763ef16ac20e171b3136d1741d07014.tar.gz
systemtap-steved-9ccda279d763ef16ac20e171b3136d1741d07014.tar.xz
systemtap-steved-9ccda279d763ef16ac20e171b3136d1741d07014.zip
[tracepoints] Resolve implicit trace_X use
Some of the tracepoints are actually being called in inlines in the common headers (e.g. trace_kmalloc), which is causing errors about implicit function declarations. We don't care about ever running the code in the tracequery module, so I'm just suppressing that error.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 41b593fa..14c6a395 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -370,7 +370,8 @@ make_tracequery(systemtap_session& s, string& name, const vector<string>& extra_
// create a simple Makefile
string makefile(dir + "/Makefile");
ofstream omf(makefile.c_str());
- omf << "EXTRA_CFLAGS := -g" << endl; // force debuginfo generation
+ // force debuginfo generation, and relax implicit functions
+ omf << "EXTRA_CFLAGS := -g -Wno-implicit-function-declaration" << endl;
omf << "obj-m := tracequery.o" << endl;
omf.close();