summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/profiling
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-21 11:11:21 -0400
committerDave Brolley <brolley@redhat.com>2009-04-21 11:11:21 -0400
commit623a41aeb47995f6b5790e38f9e0e10959f98b4e (patch)
treee79bd792bfc682f842f804af1c119a751ae18c0c /testsuite/systemtap.examples/profiling
parent09fd19d66b9e3318e9e33f604eb2dbe623955123 (diff)
parentd0ea46ceac2e72fe0b86269ea50c004711148158 (diff)
downloadsystemtap-steved-623a41aeb47995f6b5790e38f9e0e10959f98b4e.tar.gz
systemtap-steved-623a41aeb47995f6b5790e38f9e0e10959f98b4e.tar.xz
systemtap-steved-623a41aeb47995f6b5790e38f9e0e10959f98b4e.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.examples/profiling')
-rwxr-xr-xtestsuite/systemtap.examples/profiling/latencytap.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/profiling/latencytap.stp b/testsuite/systemtap.examples/profiling/latencytap.stp
index 28956129..d202ec81 100755
--- a/testsuite/systemtap.examples/profiling/latencytap.stp
+++ b/testsuite/systemtap.examples/profiling/latencytap.stp
@@ -23,7 +23,7 @@ function _get_sleep_time:long(rq_param:long, p_param:long)
function task_backtrace:string (task:long)
%{
_stp_stack_snprint_tsk(THIS->__retvalue, MAXSTRINGLEN,
- (struct task_struct *)THIS->task, 0, MAXTRACE);
+ (struct task_struct *)(unsigned long)THIS->task, 0, MAXTRACE);
%}
probe kernel.function("enqueue_task_fair") {