summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
Diffstat (limited to 'tapset')
-rw-r--r--tapset/context.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tapset/context.stp b/tapset/context.stp
index 3e776547..bb4004bb 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -92,3 +92,8 @@ function print_stack(stk:string) %{
function pp:string () %{
strlcpy (THIS->__retvalue, CONTEXT->probe_point, MAXSTRINGLEN);
%}
+
+function target:long () %{
+ THIS->__retvalue = _stp_target;
+%}
+