From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E7C97AC.40709@domain.hid> Date: Fri, 23 Sep 2011 16:29:00 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4E7C46C7.4050203@domain.hid> <4E7C673B.6020204@domain.hid> <4E7C934E.5090900@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] P2020 support for ftrace with ipipe 2.12-01 and xeno 2.5.5.1 List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jean-Michel Hautbois Cc: "Xenomai-core@domain.hid" On 2011-09-23 16:21, Jean-Michel Hautbois wrote: > 2011/9/23 Jan Kiszka > > On 2011-09-23 15:58, Jean-Michel Hautbois wrote: >> 2011/9/23 Gilles Chanteperdrix > >> >>> On 09/23/2011 11:49 AM, Jean-Michel Hautbois wrote: >>>> OK, I have more traces (a few :)) : >>> >>> I meant the I-pipe tracer alone. The I-pipe tracer intead of other >>> ftrace tracers. >>> >>> >> Well, I think it works, I can do a cat /proc/ipipe/trace/max without any >> error in a kernel which doesn't have any other ftrace function. >> Do you have one test in particular in mind ? > > Check > http://git.kiszka.org/?p=ipipe.git;a=shortlog;h=refs/heads/queues/2.6.35-x86-trace > to get an impression of what is required to get ftrace working on > x86_64. It is not working on x86_32 e.g. as it depends on the arch > providing a NMI-safe, ie. task-stack independent current_thread_info(). > That is also not yet the case on Power. > > Interesting, and impressive. Do you plan supporting it for PowerPC ? > Is there a git branch for that too ? > I can test on a P2020, if you are interested ;-). Sorry, this is currently not on any local roadmap. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux