[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241120114341.30ac73c6@gandalf.local.home>
Date: Wed, 20 Nov 2024 11:43:41 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>
Cc: linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, Geert Uytterhoeven
<geert@...ux-m68k.org>, Greg Ungerer <gerg@...ux-m68k.org>, Tomas Glozar
<tglozar@...hat.com>
Subject: Re: [PATCH RFC 0/2] Add basic tracing support for m68k
On Wed, 20 Nov 2024 16:59:55 +0100
Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org> wrote:
> > 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;
-- Steve
Powered by blists - more mailing lists