summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/profiling
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-21 11:26:37 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-21 11:29:57 +0200
commit7e88d7860607485539602a4e9002d1f275f1e8d2 (patch)
tree823739d1f522a0355a3432fda949f884ce7a18d3 /testsuite/systemtap.examples/profiling
parent7a2ee7a2098a82f90057c70651b98f14337b3a8a (diff)
downloadsystemtap-steved-7e88d7860607485539602a4e9002d1f275f1e8d2.tar.gz
systemtap-steved-7e88d7860607485539602a4e9002d1f275f1e8d2.tar.xz
systemtap-steved-7e88d7860607485539602a4e9002d1f275f1e8d2.zip
Make latencytap.stp compile on i386.
Still needs a .meta file to catch any breakage in the future. * testsuite/systemtap.examples/profiling/latencytap.stp (task_backtrace): Cast task to unsigned long first.
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") {