For code reuse in Linuxulator rename get_proccess_cputime() and get_thread_cputime() and add prototypes for it to <sys/syscallsubr.h>.
Fix whitespace nit while here.
Details
Details
- Reviewers
kib emaste - Group Reviewers
Linux Emulation - Commits
- rS357492: For code reuse in Linuxulator rename get_proccess_cputime()
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28884 Build 26886: arc lint + arc unit
Event Timeline
Comment Actions
It seems that both functions use process lock as a way to ensure that the process is not exiting under it. This should be asserted since functions become public interface.