Re: Using ftrace

2023-01-31 Thread YiFei Zhu
On Tue, Jan 31, 2023 at 1:11 AM Johannes Berg wrote: > > On Tue, 2023-01-31 at 08:22 +0100, Richard Weinberger wrote: > > > > Adding function (and function graph) tracing to UML is possible but a bit > > of work. > > You need to find a way to implement all of ftraces mcount hooks for UML. > > >

Re: [PATCH v2 4/4] mm, arch: add generic implementation of pfn_valid() for FLATMEM

2023-01-31 Thread Conor Dooley
Hi Mike, On Tue, Jan 31, 2023 at 08:41:49PM +0200, Mike Rapoport wrote: > On Tue, Jan 31, 2023 at 05:47:24PM +, Conor Dooley wrote: > > On Sun, Jan 29, 2023 at 02:42:35PM +0200, Mike Rapoport wrote: > > > From: "Mike Rapoport (IBM)" > > > > > > Every architecture that supports FLATMEM

Re: Using ftrace

2023-01-31 Thread Glenn Washburn
On Tue, 31 Jan 2023 08:22:45 +0100 (CET) Richard Weinberger wrote: > - Ursprüngliche Mail - > > Von: "Anton Ivanov" > > On 31/01/2023 04:17, Glenn Washburn wrote: > >> I'm trying to use the ftrace facility within UML. It appears as > >> though it exists in the menuconfig, but I can't

Re: [PATCH v2 4/4] mm, arch: add generic implementation of pfn_valid() for FLATMEM

2023-01-31 Thread Mike Rapoport
Hi Conor, On Tue, Jan 31, 2023 at 05:47:24PM +, Conor Dooley wrote: > Hey Mike, > > On Sun, Jan 29, 2023 at 02:42:35PM +0200, Mike Rapoport wrote: > > From: "Mike Rapoport (IBM)" > > > > Every architecture that supports FLATMEM memory model defines its own > > version of pfn_valid() that

Re: [PATCH v2 4/4] mm, arch: add generic implementation of pfn_valid() for FLATMEM

2023-01-31 Thread Conor Dooley
Hey Mike, On Sun, Jan 29, 2023 at 02:42:35PM +0200, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > Every architecture that supports FLATMEM memory model defines its own > version of pfn_valid() that essentially compares a pfn to max_mapnr. > > Use mips/powerpc version implemented as

Re: Using ftrace

2023-01-31 Thread Anton Ivanov
On 31/01/2023 09:10, Johannes Berg wrote: On Tue, 2023-01-31 at 08:22 +0100, Richard Weinberger wrote: Adding function (and function graph) tracing to UML is possible but a bit of work. You need to find a way to implement all of ftraces mcount hooks for UML. It feels like it shouldn't be

Re: Using ftrace

2023-01-31 Thread Johannes Berg
On Tue, 2023-01-31 at 08:22 +0100, Richard Weinberger wrote: > > Adding function (and function graph) tracing to UML is possible but a bit of > work. > You need to find a way to implement all of ftraces mcount hooks for UML. > It feels like it shouldn't be that hard, but I coincidentally