下载ltt-control-0.48-27022008.tar.gz。从LTT官方上。
ltt-control-0.48-27022008 # ./configure CC=arm-linux-gcc CXX=arm-linux-g++ --host=arm-linux --target=arm-linux --build=i686-linux --prefix=/home/bigfish/work/LTTng_release/lttctl/
root@wangyu-desktop:lttctl # pwd
/home/bigfish/work/LTTng_release/lttctl
root@wangyu-desktop:lttctl # ll
总用量 12K
drwxr-xr-x 2 root root 4.0K 2009-11-05 17:23 lib
drwxr-xr-x 3 root root 4.0K 2009-11-05 17:23 include
drwxr-xr-x 2 root root 4.0K 2009-11-05 17:23 bin
root@wangyu-desktop:lttctl # ll bin/
总用量 72K
-rwxr-xr-x 1 root root 290 2009-11-05 17:23 ltt-disarmall
-rwxr-xr-x 1 root root 28K 2009-11-05 17:23 lttctl
-rwxr-xr-x 1 root root 1.1K 2009-11-05 17:23 ltt-armall
-rwxr-xr-x 1 root root 34K 2009-11-05 17:23 lttd
root@wangyu-desktop:lttctl #
kernel也build成功啦。
下载patch-2.6.25-lttng-0.10-pre54.tar.bz2。
之后解压,打上这两个patch
lttng-instrumentation-arm.patch lttng-kernel-trace-thread-flag-arm.patch
build如果出了error.把那个文件加上#include 就可以啦。
就等着明天下板子上试试了~
阅读(2617) | 评论(0) | 转发(0) |