- Adding patch from issue #1989 to correct cpu_percent on thread ID#2061
- Adding patch from issue #1989 to correct cpu_percent on thread ID#2061RobinC-18 wants to merge 1 commit intogiampaolo:masterfrom
Conversation
…read ID Signed-off-by: Robin Cowley <robincowley18@gmail.com>
121c3f7 to
6bfae2a
Compare
|
This patch is something we're using in production in a local fork at the moment. Would it be possible to get this merged into mainline so we can retire our local fork? |
|
Would be great if this PR was accepted - also having to maintain my own fork right now. :( |
|
@giampaolo is there any chance of getting this PR reviewed and merged please? |
|
The reason why I didn't merge this yet was because reading Before patch: After patch: It's not big but still... |
|
Hi @giampaolo, thanks for the reply. We could look at a refactor that removes the check for the PID identity and whether it is a TID into an API that is only run when the caller explicitly asks for it to be checked? That means the |
Summary
Description
Applying the patch described in issue #1989, to enable a user to query the cpu_percent of a TID and it to return the correct values for that specific thread, rather than of the master_pid.