This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Error: staprun syntax error on Target
- From: Satish Kumar <sakumar at mvista dot com>
- To: systemtap at sourceware dot org
- Date: Wed, 29 Nov 2017 22:15:56 +0530
- Subject: Error: staprun syntax error on Target
- Authentication-results: sourceware.org; auth=none
Hi all,
I am getting following error with staprun on target board
root@xilinx-zynq-le:~# staprun
/usr/target/bin/staprun: line 1: syntax error: unexpected "("
root@xilinx-zynq-le:~#
I am using systamtap 2.6.0-1 7 elfutils elfutils-0.161 version
& commit Id for systemtap
commit cbeaab6abc002463024b5a199ac1fc2f49a31738
Author: Hilko Bengen <bengen@debian.org>
Date: Thu Sep 25 22:44:57 2014 +0200
Running on ubuntu 14.04 machine on x86_64 bit.
I got compiled stap for host successfully
staprun & stapio for target successfully
and copied /macharm (creted with ./configure) directory into target
& when running the staprun on the target getting error as
root@xilinx-zynq-le:~# staprun hello.ko
/usr/target/bin/staprun: line 1: syntax error: unexpected "("
root@xilinx-zynq-le:~#
Kernel compiled for Target board: 3.14
I used following commands to create stap & stptun, stapio based on
following web page
https://drzhf9.wordpress.com/2015/02/19/systemtap-for-arm/
can you please support me to resolve the issue.
If blog page is wrong, please provide me proper Doc. or set of commands to
create stap, staprun & stapio for ARM Target board
I did not see much doc.s open for the ARM Arch.
Thanks in advance
Regards
Satish.G