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: 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 see

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 th

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 looked

Re: Using ftrace

2023-01-30 Thread 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 seem to get the kernel to recognize the tracefs filesystem. I'm wondering if someone can confirm that either ftrace does or does not work in U

Re: Using ftrace

2023-01-30 Thread Richard Weinberger
- 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 seem to get the kernel to >> recognize the tracefs filesystem. I'm wondering if so