[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6da6dfe4-f5f7-4802-902e-47ec89364b35@yoseli.org>
Date: Wed, 20 Nov 2024 17:51:03 +0100
From: Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>
To: Steven Rostedt <rostedt@...dmis.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 20/11/2024 17:43, Steven Rostedt wrote:
> 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;
>
Nope. Nice try :-) !
If you need me to add a few specific printfs I can run it.
JM
Powered by blists - more mailing lists