From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8347 invoked by alias); 4 Nov 2011 19:41:20 -0000 Received: (qmail 8338 invoked by uid 22791); 4 Nov 2011 19:41:20 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,TW_QE X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 19:41:04 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1RMPdP-0004E6-2X from wade_farnsworth@mentor.com ; Fri, 04 Nov 2011 12:41:03 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 4 Nov 2011 12:39:36 -0700 Received: from [172.30.5.135] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Fri, 4 Nov 2011 12:41:02 -0700 Message-ID: <4EB43FCC.6000702@mentor.com> Date: Fri, 04 Nov 2011 19:41:00 -0000 From: Wade Farnsworth User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: CC: Mark Wielaard Subject: Re: [PATCH 0/2] Userspace tap support for ARM References: <4EB2D832.60402@mentor.com> <4EB2FB55.1050804@mentor.com> <1320397503.15468.2.camel@springer.wildebeest.org> <4EB3F998.7030305@mentor.com> In-Reply-To: <4EB3F998.7030305@mentor.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q4/txt/msg00145.txt.bz2 Wade Farnsworth wrote: > Mark Wielaard wrote: >> Hi Wade, >> >> On Thu, 2011-11-03 at 13:36 -0700, Wade Farnsworth wrote: >>> Wade Farnsworth wrote: >>>> This is a first pass at userspace tap support for ARM. Required are >>>> UTrace >>>> support as well as Roland McGrath's tracehook and user_regset >>>> patches found >>>> here: >>>> >>>> https://lkml.org/lkml/2009/4/24/383 >>>> >>> Per Frank's request, I have set up a repository containing a kernel that >>> may be used to test these patches. It may be found at >>> >>> https://github.com/wfarnsworth/utrace-beagle >>> >>> This is a 2.6.37.6-based kernel from the Yocto project's beagleboard BSP >>> (which provides the utrace patch) with the tracehook and user_regset >>> patches committed. >> >> Thanks for that. I see Yocto can be run under qemu, which would be nice >> for testing things for those who don't have arm hardware. Are these >> patches in any of the qemu based arm yocto kernel releases yet? >> > > Unfortunately, Roland's patches are not yet in any of the Yocto > releases. However, I think it should be possible to compile the > utrace-beagle kernel for a qemu target, though I haven't confirmed this. > I'll give it a try and let you know the results. > > Thanks for applying the other two patches! > > -Wade All, I've uploaded a rootfs and kernel config file for an ARM QEMU VM here: http://dl.dropbox.com/u/40714612/qemu-arm-files.tar.bz2 You should be able to use the config file with my utrace-beagle kernel repo. As far as the development environment is concerned, it is assumed that you should be able to cross-compile the kernel, systemtap, uprobes, and the tapsets using some cross development environment. I've tested this using CodeSourcery CodeBench, but I think it will work with any environment that you have at your disposal, e.g. CodeBench-Lite. Let me know if you need anything else. Thanks again! -Wade