Thread (46 messages) 46 messages, 7 authors, 2024-12-03

Re: [PATCH RFC 0/2] Add basic tracing support for m68k

From: Jean-Michel Hautbois <hidden>
Date: 2024-11-20 16:51:12
Also in: linux-m68k, lkml


On 20/11/2024 17:43, Steven Rostedt wrote:
quoted hunk ↗ jump to hunk
On Wed, 20 Nov 2024 16:59:55 +0100
Jean-Michel Hautbois [off-list ref] wrote:
quoted
quoted
And that way you will see what 'ptr' is before the crash. Or did you do
that already?
Yes, I did, sorry I thought it was in the previous dump :-(.
Can you see if this makes a difference?

Patch libtracefs:
diff --git a/src/tracefs-events.c b/src/tracefs-events.c
index 77d1ba89b038..19ea3b3f8d36 100644
--- a/src/tracefs-events.c
+++ b/src/tracefs-events.c
@@ -274,7 +274,7 @@ static int open_cpu_files(struct tracefs_instance *instance, cpu_set_t *cpus,
  		if (snapshot)
  			tcpu = tracefs_cpu_snapshot_open(instance, cpu, true);
  		else
-			tcpu = tracefs_cpu_open_mapped(instance, cpu, true);
+			tcpu = tracefs_cpu_open(instance, cpu, true);
  		if (!tcpu)
  			goto error;
  
Nope. Nice try :-) !

If you need me to add a few specific printfs I can run it.

JM
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help