summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.h
diff options
context:
space:
mode:
authorhunt <hunt>2007-03-19 03:00:56 +0000
committerhunt <hunt>2007-03-19 03:00:56 +0000
commit99c3c059961e9abdf76b92e9ab22fe26b929ec20 (patch)
treefaed2e82cc7dc3f0d9abd15721715819f9ce23b6 /runtime/staprun/staprun.h
parent0b0df798871e79949206c55a2a69cb44cd8930c5 (diff)
downloadsystemtap-steved-99c3c059961e9abdf76b92e9ab22fe26b929ec20.tar.gz
systemtap-steved-99c3c059961e9abdf76b92e9ab22fe26b929ec20.tar.xz
systemtap-steved-99c3c059961e9abdf76b92e9ab22fe26b929ec20.zip
2007-03-18 Martin Hunt <hunt@redhat.com>
* staprun.h (err): Define. * symbols.c (get_sections): More overflow checking.
Diffstat (limited to 'runtime/staprun/staprun.h')
-rw-r--r--runtime/staprun/staprun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h
index 7a3fd00c..57a78809 100644
--- a/runtime/staprun/staprun.h
+++ b/runtime/staprun/staprun.h
@@ -40,6 +40,8 @@
#define dbug(args...) ;
#endif /* DEBUG */
+#define err(args...) {fprintf(stderr,"%s:%d ",__FUNCTION__, __LINE__); fprintf(stderr,args); }
+
/* we define this so we are compatible with old transport, but we don't have to use it. */
#define STP_OLD_TRANSPORT
#include "../transport/transport_msgs.h"