Facing problem while patching LTTng 0.9.5 with linux kernel 2.6.21

"Srinivasa Reddy" <[email protected]> Wed, 25 Jul 2007 17:22:33 +0530
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Hi Mathieu,

 

I am facing some problems while patching the LTTng version 0.9.5 with
Linux kernel 2.6.21 version.

 

That LTTng patch contains some files with ".diff" extension and some
files with ".patch" extension. That's why I have given * in that below
command.

 

Please have a look at the below message:

 

************************************************************************
****************************************************

[sreddy@l-blr-sddeg03 linux-2.6.21-kernel]$ cat
/scratch/sreddy/linux-2.6.21-kernel/lttng-0.9.5/* | patch -p1

can't find file to patch at input line 27

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|From: Mathieu Desnoyers <[email protected]>

|

|This series mainly adds support for missing 64 bits cmpxchg and 64 bits
atomic

|add unless.  Therefore, principally 64 bits architectures are targeted
by

|these patches.  It also adds the complete list of atomic operations on
the

|atomic_long type.

|

|

|

|This patch:

|

|atomic.h: add atomic64 cmpxchg, xchg and add_unless to alpha

|

|Signed-off-by: Mathieu Desnoyers <[email protected]>

|Cc: Richard Henderson <[email protected]>

|Cc: Ivan Kokshaysky <[email protected]>

|Signed-off-by: Andrew Morton <[email protected]>

|---

|

| include/asm-alpha/atomic.h |   49 ++++++++++++++++++++++++++++++++---

| 1 file changed, 46 insertions(+), 3 deletions(-)

|

|Index: linux-2.6-lttng/include/asm-alpha/atomic.h

|===================================================================

|--- linux-2.6-lttng.orig/include/asm-alpha/atomic.h    2007-05-08
00:30:46.000000000 -0400

|+++ linux-2.6-lttng/include/asm-alpha/atomic.h 2007-05-08
00:31:17.000000000 -0400

--------------------------

File to patch:

 

 

What I have to give there?? It's asking for lot of files like that.
Please help me on this.

 

Regards,

Srinivas.

_______________________________________________
Ltt-dev mailing list
[email protected]
http://listserv.shafik.org/mailman/listinfo/ltt-dev