All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] xenomai-core ftrace
@ 2011-09-03  2:52 rainbow
  2011-09-03  6:58 ` Jan Kiszka
  0 siblings, 1 reply; 14+ messages in thread
From: rainbow @ 2011-09-03  2:52 UTC (permalink / raw)
  To: Xenomai-core, jan.kiszka

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

hi,all,I want to use ftrace in xenomai-2.5.6,but when I use git://
git.kiszka.org/ipipe.git queues/2.6.35-x86-trace to get the linux
kernel,there is no option about xenomai or ipipe . If I want to patch the
xenomai patch,there are some problem. How should I use ftrace on
xenomai?Thanks!

-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 569 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-03  2:52 [Xenomai-core] xenomai-core ftrace rainbow
@ 2011-09-03  6:58 ` Jan Kiszka
  2011-09-04  5:10   ` rainbow
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2011-09-03  6:58 UTC (permalink / raw)
  To: rainbow; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]

On 2011-09-03 04:52, rainbow wrote:
> hi,all,I want to use ftrace in xenomai-2.5.6,but when I use git://
> git.kiszka.org/ipipe.git queues/2.6.35-x86-trace to get the linux
> kernel,there is no option about xenomai or ipipe . If I want to patch the
> xenomai patch,there are some problem. How should I use ftrace on
> xenomai?Thanks!

First of all, make sure to read README.INSTALL in the Xenomai tree for
the basic installation procedure.

That git branch above replaces the installation step of picking a
vanilla Linux source tree and applying the ipipe patch to it (if there
is no ipipe option in the kernel config, you probably haven't check out
the right branch yet).

The next step would be running Xenomai's prepare-kernel.sh, in this case
using a Xenomai tree that has the required ftrace patches, see

http://permalink.gmane.org/gmane.linux.real-time.xenomai.devel/7966

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-03  6:58 ` Jan Kiszka
@ 2011-09-04  5:10   ` rainbow
  2011-09-04 11:24     ` Jan Kiszka
  0 siblings, 1 reply; 14+ messages in thread
From: rainbow @ 2011-09-04  5:10 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 2277 bytes --]

Sorry to reply so late, I did a test about install ftrace on xenomai. the
following is my procedure:
#git://git.xenomai.org/xenomai-jki.git queues/ftrace
#git://git.kiszka.org/ipipe-2.6 queues/2.6.35-x86-trace
#cd queues/ftrace
#git checkout -b remotes/origin/queues/ftrace
 origin/queues/2.6.35-x86-trace  //change to the ftrace xenomai branch
#cd ../2.6.35-x86-trace
#git checkout
-b origin/queues/2.6.35-x86-trace origin/queues/2.6.35-x86-trace
#cd ../ftrace
#./scripts/prepare-kernel.sh  --arch=i386
--adeos=ksrc/arch/x86/patches/adeos-ipipe-2.6.35.9-x86-2.8-04.patch
--linux=../2.6.35-x86-trace/
#cd /2.6.35-x86-trace/

then I compile the kernel but I get the following error message:
arch/x86/kernel/ipipe.c:851: error: conflicting types for ‘update_vsyscall’
include/linux/clocksource.h:316: note: previous declaration of
‘update_vsyscall’ was here
make[2]: *** [arch/x86/kernel/ipipe.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

I am not sure the reason is that I get the wrong patch or the kernel
configuration is wrong, Is the procedure above right? Thanks!

2011/9/3 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-03 04:52, rainbow wrote:
> > hi,all,I want to use ftrace in xenomai-2.5.6,but when I use git://
> > git.kiszka.org/ipipe.git queues/2.6.35-x86-trace to get the linux
> > kernel,there is no option about xenomai or ipipe . If I want to patch the
> > xenomai patch,there are some problem. How should I use ftrace on
> > xenomai?Thanks!
>
> First of all, make sure to read README.INSTALL in the Xenomai tree for
> the basic installation procedure.
>
> That git branch above replaces the installation step of picking a
> vanilla Linux source tree and applying the ipipe patch to it (if there
> is no ipipe option in the kernel config, you probably haven't check out
> the right branch yet).
>
> The next step would be running Xenomai's prepare-kernel.sh, in this case
> using a Xenomai tree that has the required ftrace patches, see
>
> http://permalink.gmane.org/gmane.linux.real-time.xenomai.devel/7966
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 3222 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04  5:10   ` rainbow
@ 2011-09-04 11:24     ` Jan Kiszka
  2011-09-04 11:49       ` rainbow
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2011-09-04 11:24 UTC (permalink / raw)
  To: rainbow; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

On 2011-09-04 07:10, rainbow wrote:
> Sorry to reply so late, I did a test about install ftrace on xenomai. the
> following is my procedure:
> #git://git.xenomai.org/xenomai-jki.git queues/ftrace
> #git://git.kiszka.org/ipipe-2.6 queues/2.6.35-x86-trace
> #cd queues/ftrace
> #git checkout -b remotes/origin/queues/ftrace
>  origin/queues/2.6.35-x86-trace  //change to the ftrace xenomai branch
> #cd ../2.6.35-x86-trace
> #git checkout
> -b origin/queues/2.6.35-x86-trace origin/queues/2.6.35-x86-trace
> #cd ../ftrace
> #./scripts/prepare-kernel.sh  --arch=i386
> --adeos=ksrc/arch/x86/patches/adeos-ipipe-2.6.35.9-x86-2.8-04.patch
> --linux=../2.6.35-x86-trace/
> #cd /2.6.35-x86-trace/
> 
> then I compile the kernel but I get the following error message:
> arch/x86/kernel/ipipe.c:851: error: conflicting types for ‘update_vsyscall’
> include/linux/clocksource.h:316: note: previous declaration of
> ‘update_vsyscall’ was here
> make[2]: *** [arch/x86/kernel/ipipe.o] Error 1
> make[1]: *** [arch/x86/kernel] Error 2
> make: *** [arch/x86] Error 2

That's a build issues of the underlying old ipipe patch. However, it's
x86-32 only. And as the documentation stated, only x86-64 is supported
by the ftrace patches. So build for 64 bit instead.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 11:24     ` Jan Kiszka
@ 2011-09-04 11:49       ` rainbow
  2011-09-04 11:52         ` Jan Kiszka
  0 siblings, 1 reply; 14+ messages in thread
From: rainbow @ 2011-09-04 11:49 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]

you mean I use remotes/origin/queues/2.6.37-x86 branch and use the ipipe
patch for 2.6.37 then install them on x86_64, the ftrace can work?I will
have a try, thank you!

2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-04 07:10, rainbow wrote:
> > Sorry to reply so late, I did a test about install ftrace on xenomai. the
> > following is my procedure:
> > #git://git.xenomai.org/xenomai-jki.git queues/ftrace
> > #git://git.kiszka.org/ipipe-2.6 queues/2.6.35-x86-trace
> > #cd queues/ftrace
> > #git checkout -b remotes/origin/queues/ftrace
> >  origin/queues/2.6.35-x86-trace  //change to the ftrace xenomai branch
> > #cd ../2.6.35-x86-trace
> > #git checkout
> > -b origin/queues/2.6.35-x86-trace origin/queues/2.6.35-x86-trace
> > #cd ../ftrace
> > #./scripts/prepare-kernel.sh  --arch=i386
> > --adeos=ksrc/arch/x86/patches/adeos-ipipe-2.6.35.9-x86-2.8-04.patch
> > --linux=../2.6.35-x86-trace/
> > #cd /2.6.35-x86-trace/
> >
> > then I compile the kernel but I get the following error message:
> > arch/x86/kernel/ipipe.c:851: error: conflicting types for
> ‘update_vsyscall’
> > include/linux/clocksource.h:316: note: previous declaration of
> > ‘update_vsyscall’ was here
> > make[2]: *** [arch/x86/kernel/ipipe.o] Error 1
> > make[1]: *** [arch/x86/kernel] Error 2
> > make: *** [arch/x86] Error 2
>
> That's a build issues of the underlying old ipipe patch. However, it's
> x86-32 only. And as the documentation stated, only x86-64 is supported
> by the ftrace patches. So build for 64 bit instead.
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 2353 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 11:49       ` rainbow
@ 2011-09-04 11:52         ` Jan Kiszka
  2011-09-04 12:21           ` rainbow
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2011-09-04 11:52 UTC (permalink / raw)
  To: rainbow; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

On 2011-09-04 13:49, rainbow wrote:
> you mean I use remotes/origin/queues/2.6.37-x86 branch and use the ipipe
> patch for 2.6.37 then install them on x86_64, the ftrace can work?I will
> have a try, thank you!

Use the 2.6.35-x86-trace, it already contains the ipipe patch, and build
it for x86-64.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 11:52         ` Jan Kiszka
@ 2011-09-04 12:21           ` rainbow
  2011-09-04 12:34             ` Jan Kiszka
  0 siblings, 1 reply; 14+ messages in thread
From: rainbow @ 2011-09-04 12:21 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

Is the ipipe patch the same as patch like
adeos-ipipe-2.6.37.6-x86-2.9-02.patch, I know the latter is xenomai patch
and after I patch it, I can see "Real-time sub-system  ---> " Option. But If
I use 2.6.35-x86-trace which contains ,there is no such option.
Another  problem is that there are so many xenomai gits , how can i download
the correct git?
I am a newby to xenomai and I am sorry to ask so many questions but I want
to do something on xenomai :) . Thank you for your detail answers.

2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-04 13:49, rainbow wrote:
> > you mean I use remotes/origin/queues/2.6.37-x86 branch and use the ipipe
> > patch for 2.6.37 then install them on x86_64, the ftrace can work?I will
> > have a try, thank you!
>
> Use the 2.6.35-x86-trace, it already contains the ipipe patch, and build
> it for x86-64.
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 1531 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 12:21           ` rainbow
@ 2011-09-04 12:34             ` Jan Kiszka
  2011-09-04 13:16               ` rainbow
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2011-09-04 12:34 UTC (permalink / raw)
  To: rainbow; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

On 2011-09-04 14:21, rainbow wrote:
> Is the ipipe patch the same as patch like
> adeos-ipipe-2.6.37.6-x86-2.9-02.patch,

Except that the trace branch is for 2.6.35, yes. More precisely it is
now the same, I just pushed the latest version that includes two more
backported ipipe fixes.

> I know the latter is xenomai patch
> and after I patch it, I can see "Real-time sub-system  ---> " Option. But If
> I use 2.6.35-x86-trace which contains ,there is no such option.

That menu option is introduced by Xenomai, ie. after running
prepare-kernel.sh. You likely forgot that step.

Note again that you have to use a Xenomai tree with the required ftrace
patches on top if you want Xenomai to generate ftrace events as well.

> Another  problem is that there are so many xenomai gits , how can i download
> the correct git?

By cloning the the git repository you obtain all available branches. You
just need to checkout the desired one afterward.

> I am a newby to xenomai and I am sorry to ask so many questions but I want
> to do something on xenomai :) . Thank you for your detail answers.

Setting up ftrace for Xenomai is not necessarily a newbie task, but I
think I know the background of this. :)

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 12:34             ` Jan Kiszka
@ 2011-09-04 13:16               ` rainbow
  2011-09-04 13:52                 ` Jan Kiszka
  0 siblings, 1 reply; 14+ messages in thread
From: rainbow @ 2011-09-04 13:16 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-04 14:21, rainbow wrote:
> > Is the ipipe patch the same as patch like
> > adeos-ipipe-2.6.37.6-x86-2.9-02.patch,
>
> Except that the trace branch is for 2.6.35, yes. More precisely it is
> now the same, I just pushed the latest version that includes two more
> backported ipipe fixes.
>
> > I know the latter is xenomai patch
> > and after I patch it, I can see "Real-time sub-system  ---> " Option. But
> If
> > I use 2.6.35-x86-trace which contains ,there is no such option.
>
> That menu option is introduced by Xenomai, ie. after running
> prepare-kernel.sh. You likely forgot that step.
>


> Yes,I forget the step. So I think I only have to run prepare-kernel.sh
> --arch=x86_64

--linux=2.6.35-x86-trace  , I do not need --adeos option because
> the 2.6.35-x86-trace contains the ipipe patch.
>



> Note again that you have to use a Xenomai tree with the required ftrace
> patches on top if you want Xenomai to generate ftrace events as well.
>
> "Xenomai tree with required ftrace patches on top" you mean the branch
"remotes/origin/queues/ftrace"?


> > Another  problem is that there are so many xenomai gits , how can i
> download
> > the correct git?
>
> By cloning the the git repository you obtain all available branches. You
> just need to checkout the desired one afterward.
>
> > I am a newby to xenomai and I am sorry to ask so many questions but I
> want
> > to do something on xenomai :) . Thank you for your detail answers.
>
> Setting up ftrace for Xenomai is not necessarily a newbie task, but I
> think I know the background of this. :)
>

I think you really know the background :).

>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 3096 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 13:16               ` rainbow
@ 2011-09-04 13:52                 ` Jan Kiszka
  2011-09-04 14:12                   ` rainbow
  2011-09-05  2:32                   ` rainbow
  0 siblings, 2 replies; 14+ messages in thread
From: Jan Kiszka @ 2011-09-04 13:52 UTC (permalink / raw)
  To: rainbow; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

On 2011-09-04 15:16, rainbow wrote:
> 2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>
> 
>> On 2011-09-04 14:21, rainbow wrote:
>>> Is the ipipe patch the same as patch like
>>> adeos-ipipe-2.6.37.6-x86-2.9-02.patch,
>>
>> Except that the trace branch is for 2.6.35, yes. More precisely it is
>> now the same, I just pushed the latest version that includes two more
>> backported ipipe fixes.
>>
>>> I know the latter is xenomai patch
>>> and after I patch it, I can see "Real-time sub-system  ---> " Option. But
>> If
>>> I use 2.6.35-x86-trace which contains ,there is no such option.
>>
>> That menu option is introduced by Xenomai, ie. after running
>> prepare-kernel.sh. You likely forgot that step.
>>
> 
> 
>> Yes,I forget the step. So I think I only have to run prepare-kernel.sh
>> --arch=x86_64
> 
> --linux=2.6.35-x86-trace  , I do not need --adeos option because
>> the 2.6.35-x86-trace contains the ipipe patch.
>>
> 
> 
> 
>> Note again that you have to use a Xenomai tree with the required ftrace
>> patches on top if you want Xenomai to generate ftrace events as well.
>>
>> "Xenomai tree with required ftrace patches on top" you mean the branch
> "remotes/origin/queues/ftrace"?

Yep. I just pushed a rebased version of current git master.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 13:52                 ` Jan Kiszka
@ 2011-09-04 14:12                   ` rainbow
  2011-09-05  2:32                   ` rainbow
  1 sibling, 0 replies; 14+ messages in thread
From: rainbow @ 2011-09-04 14:12 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]

Thank you for so detailed answers!! I will test it.

2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-04 15:16, rainbow wrote:
> > 2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>
> >
> >> On 2011-09-04 14:21, rainbow wrote:
> >>> Is the ipipe patch the same as patch like
> >>> adeos-ipipe-2.6.37.6-x86-2.9-02.patch,
> >>
> >> Except that the trace branch is for 2.6.35, yes. More precisely it is
> >> now the same, I just pushed the latest version that includes two more
> >> backported ipipe fixes.
> >>
> >>> I know the latter is xenomai patch
> >>> and after I patch it, I can see "Real-time sub-system  ---> " Option.
> But
> >> If
> >>> I use 2.6.35-x86-trace which contains ,there is no such option.
> >>
> >> That menu option is introduced by Xenomai, ie. after running
> >> prepare-kernel.sh. You likely forgot that step.
> >>
> >
> >
> >> Yes,I forget the step. So I think I only have to run prepare-kernel.sh
> >> --arch=x86_64
> >
> > --linux=2.6.35-x86-trace  , I do not need --adeos option because
> >> the 2.6.35-x86-trace contains the ipipe patch.
> >>
> >
> >
> >
> >> Note again that you have to use a Xenomai tree with the required ftrace
> >> patches on top if you want Xenomai to generate ftrace events as well.
> >>
> >> "Xenomai tree with required ftrace patches on top" you mean the branch
> > "remotes/origin/queues/ftrace"?
>
> Yep. I just pushed a rebased version of current git master.
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 2342 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-04 13:52                 ` Jan Kiszka
  2011-09-04 14:12                   ` rainbow
@ 2011-09-05  2:32                   ` rainbow
  2011-09-05  6:53                     ` Jan Kiszka
  1 sibling, 1 reply; 14+ messages in thread
From: rainbow @ 2011-09-05  2:32 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 2278 bytes --]

hi,
I did a test for ftrace-xenomai on x86_64 test just now:
the environment is : OS: debian 6.0 gcc-4.1
I use origin/queues/2.6.37-x86 branch on git
git://git.kiszka.org/ipipe-2.6for linux kernel and use branch
origin/queues/ftrace on git git://
git.xenomai.org/xenomai-jki.git
then I do as the following procedures:
1,cd xenomai git
2, ./scripts/prepare-kernel.sh --arch=x86_64 --linux=path_to_2.6.37-x86
3, cd path_to_2.6.37_x86
4,make menuconfig
then enble ftrace on kernel hacking option.
5,install the kernel and reboot the machine.
6,do ftrace test
6.1 mount -t debugfs nodev /sys/kernel/debug
6.2 cd /sys/kernel/debug/tracing
6.3 echo function > current_tracer
At last the machine reboot.
Is there something wrong about the above procedure? Thanks!
2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-04 15:16, rainbow wrote:
> > 2011/9/4 Jan Kiszka <jan.kiszka@domain.hid>
> >
> >> On 2011-09-04 14:21, rainbow wrote:
> >>> Is the ipipe patch the same as patch like
> >>> adeos-ipipe-2.6.37.6-x86-2.9-02.patch,
> >>
> >> Except that the trace branch is for 2.6.35, yes. More precisely it is
> >> now the same, I just pushed the latest version that includes two more
> >> backported ipipe fixes.
> >>
> >>> I know the latter is xenomai patch
> >>> and after I patch it, I can see "Real-time sub-system  ---> " Option.
> But
> >> If
> >>> I use 2.6.35-x86-trace which contains ,there is no such option.
> >>
> >> That menu option is introduced by Xenomai, ie. after running
> >> prepare-kernel.sh. You likely forgot that step.
> >>
> >
> >
> >> Yes,I forget the step. So I think I only have to run prepare-kernel.sh
> >> --arch=x86_64
> >
> > --linux=2.6.35-x86-trace  , I do not need --adeos option because
> >> the 2.6.35-x86-trace contains the ipipe patch.
> >>
> >
> >
> >
> >> Note again that you have to use a Xenomai tree with the required ftrace
> >> patches on top if you want Xenomai to generate ftrace events as well.
> >>
> >> "Xenomai tree with required ftrace patches on top" you mean the branch
> > "remotes/origin/queues/ftrace"?
>
> Yep. I just pushed a rebased version of current git master.
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 3248 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-05  2:32                   ` rainbow
@ 2011-09-05  6:53                     ` Jan Kiszka
  2011-09-05  7:39                       ` rainbow
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2011-09-05  6:53 UTC (permalink / raw)
  To: rainbow; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

On 2011-09-05 04:32, rainbow wrote:
> hi,
> I did a test for ftrace-xenomai on x86_64 test just now:
> the environment is : OS: debian 6.0 gcc-4.1
> I use origin/queues/2.6.37-x86 branch on git
> git://git.kiszka.org/ipipe-2.6for linux kernel and use branch
> origin/queues/ftrace on git git://
> git.xenomai.org/xenomai-jki.git
> then I do as the following procedures:
> 1,cd xenomai git
> 2, ./scripts/prepare-kernel.sh --arch=x86_64 --linux=path_to_2.6.37-x86
> 3, cd path_to_2.6.37_x86
> 4,make menuconfig
> then enble ftrace on kernel hacking option.
> 5,install the kernel and reboot the machine.
> 6,do ftrace test
> 6.1 mount -t debugfs nodev /sys/kernel/debug
> 6.2 cd /sys/kernel/debug/tracing
> 6.3 echo function > current_tracer
> At last the machine reboot.
> Is there something wrong about the above procedure? Thanks!

Only queues/2.6.35-x86-trace contains ftrace support.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Xenomai-core] xenomai-core ftrace
  2011-09-05  6:53                     ` Jan Kiszka
@ 2011-09-05  7:39                       ` rainbow
  0 siblings, 0 replies; 14+ messages in thread
From: rainbow @ 2011-09-05  7:39 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]

Yes, you are right, it is ok for 2.6.35-x86-trace.Thank you very much.

2011/9/5 Jan Kiszka <jan.kiszka@domain.hid>

> On 2011-09-05 04:32, rainbow wrote:
> > hi,
> > I did a test for ftrace-xenomai on x86_64 test just now:
> > the environment is : OS: debian 6.0 gcc-4.1
> > I use origin/queues/2.6.37-x86 branch on git
> > git://git.kiszka.org/ipipe-2.6for linux kernel and use branch
> > origin/queues/ftrace on git git://
> > git.xenomai.org/xenomai-jki.git
> > then I do as the following procedures:
> > 1,cd xenomai git
> > 2, ./scripts/prepare-kernel.sh --arch=x86_64 --linux=path_to_2.6.37-x86
> > 3, cd path_to_2.6.37_x86
> > 4,make menuconfig
> > then enble ftrace on kernel hacking option.
> > 5,install the kernel and reboot the machine.
> > 6,do ftrace test
> > 6.1 mount -t debugfs nodev /sys/kernel/debug
> > 6.2 cd /sys/kernel/debug/tracing
> > 6.3 echo function > current_tracer
> > At last the machine reboot.
> > Is there something wrong about the above procedure? Thanks!
>
> Only queues/2.6.35-x86-trace contains ftrace support.
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvqq05@domain.hid
Do what you like,
Enjoy your life.

[-- Attachment #2: Type: text/html, Size: 1896 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-09-05  7:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-03  2:52 [Xenomai-core] xenomai-core ftrace rainbow
2011-09-03  6:58 ` Jan Kiszka
2011-09-04  5:10   ` rainbow
2011-09-04 11:24     ` Jan Kiszka
2011-09-04 11:49       ` rainbow
2011-09-04 11:52         ` Jan Kiszka
2011-09-04 12:21           ` rainbow
2011-09-04 12:34             ` Jan Kiszka
2011-09-04 13:16               ` rainbow
2011-09-04 13:52                 ` Jan Kiszka
2011-09-04 14:12                   ` rainbow
2011-09-05  2:32                   ` rainbow
2011-09-05  6:53                     ` Jan Kiszka
2011-09-05  7:39                       ` rainbow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.