forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Add fork to the sideband ioctl
Support the case of output to an active event, and return an error if output is not possible in that case. Set PERF_RECORD_MISC_STATUS_ONLY to differentiate the ioctl status-only sideband event from a "real" sideband event. Set the fork parent pid/tid to the real parent for a thread group leader, or to the thread group leader otherwise. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
- Loading branch information
1 parent
8d87831
commit 48bf5fe
Showing
1 changed file
with
73 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters