public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Oops in 2.6.27.39 with latest DTrace linux port
@ 2009-12-22 20:26 Soumendu Satapathy
  2009-12-22 20:45 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Soumendu Satapathy @ 2009-12-22 20:26 UTC (permalink / raw)
  To: linux-kernel

Hi,
http://lkml.org/lkml/2009/12/22/219
Attaching the patch for the above:-
--- driver/dtrace_linux.c.orig  2009-12-22 20:15:10.116371000 +0000+++ driver/dtrace_linux.c       2009-12-22 20:17:03.248172000 +0000@@ -1450,7 +1450,18 @@ //             printk("yy: pmd=%lx\n", *pmd);                return 0;        }-       pte = pte_offset_kernel(pmd, addr);++       if (pmd_large(*pmd)) {+                pte = (pte_t *)pmd;+        }+        else {++                pte = pte_offset_kernel(pmd, addr);+        }++        if (pte_none(*pte))+                return 0;+        if (dump_tree) {                printk("yy -- begin\n");                print_pte((pte_t *) pgd, 0);


- Soumendu sekhar satapathyÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Oops in 2.6.27.39 with Latest DTrace linux port.
@ 2009-12-22 20:42 Soumendu Satapathy
  0 siblings, 0 replies; 3+ messages in thread
From: Soumendu Satapathy @ 2009-12-22 20:42 UTC (permalink / raw)
  To: linux-kernel

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

http://lkml.org/lkml/2009/12/22/219

Genuinely sorry ,  attaching the patch once again as there was some issues.


- Soumendu Sekhar Satapathy

[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 513 bytes --]

--- driver/dtrace_linux.c.orig	2009-12-22 20:33:02.239383000 +0000
+++ driver/dtrace_linux.c	2009-12-22 20:35:01.870196000 +0000
@@ -1450,7 +1450,15 @@
 //		printk("yy: pmd=%lx\n", *pmd);
 		return 0;
 	}
-	pte = pte_offset_kernel(pmd, addr);
+
+	if (pmd_large(*pmd)) 
+                pte = (pte_t *)pmd;
+        else 
+                pte = pte_offset_kernel(pmd, addr);
+
+        if (pte_none(*pte))
+                return 0;
+
 	if (dump_tree) {
 		printk("yy -- begin\n");
 		print_pte((pte_t *) pgd, 0);

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

* Re: Oops in 2.6.27.39 with latest DTrace linux port
  2009-12-22 20:26 Oops in 2.6.27.39 with latest DTrace linux port Soumendu Satapathy
@ 2009-12-22 20:45 ` Andi Kleen
  0 siblings, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2009-12-22 20:45 UTC (permalink / raw)
  To: Soumendu Satapathy; +Cc: linux-kernel

Soumendu Satapathy <satapathy.soumendu@gmail.com> writes:

> Hi,
>
> http://lkml.org/lkml/2009/12/22/219
>
> Attaching the patch for the above:-

You need to send that to the dtrace for linux author,
strace is not in the mainline sources.

You could also encourage him/her to submit his patches for 
review.

-Andi

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

end of thread, other threads:[~2009-12-22 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22 20:26 Oops in 2.6.27.39 with latest DTrace linux port Soumendu Satapathy
2009-12-22 20:45 ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2009-12-22 20:42 Oops in 2.6.27.39 with Latest " Soumendu Satapathy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox