|
|
Subscribe / Log in / New account

4.12 Merge window part 2

4.12 Merge window part 2

Posted May 11, 2017 16:36 UTC (Thu) by nevets (subscriber, #11875)
Parent article: 4.12 Merge window part 2

> The new "function-fork" tracing option will, when trace events are limited to a specific set of processes, cause any new child processes to be added to the set.

I should elaborate on this more. This option actually has nothing to do with trace events. It has to do with function tracing. Trace events use the event-fork option, which adds children into the set_event_pid file. This was added in 4.7.

The function-fork option does the same for set_ftrace_pid. When a task with a pid in that file forks, its child will be added to the file too, if the option is set. Then the function tracer will also trace the child process.


to post comments

4.12 Merge window part 2

Posted May 12, 2017 20:10 UTC (Fri) by xtifr (guest, #143) [Link]

Ah, cool, thanks for the elaboration. It's appreciated.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds