Re: [RFC][PATCH 4/4] ftrace: Allow for function tracing to record init functions on boot up

2017-03-08 Thread Steven Rostedt
Dear mm folks, Are you OK with this change? I need a hook to when the init sections are being freed along with the address that are being freed. As each arch frees their own init sections I need a single location to place my hook. The archs all call free_reserved_area(). As this isn't a critical

[RFC][PATCH 4/4] ftrace: Allow for function tracing to record init functions on boot up

2017-03-07 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Adding a hook into free_reserve_area() that informs ftrace that boot up init text is being free, lets ftrace safely remove those init functions from its records, which keeps ftrace from trying to modify text that no longer exists. Note, this still does not allow f