Page MenuHomeFreeBSD

Hwpmc log file is not cleaned after profile session is completed
Needs ReviewPublic

Authored by rajeeb.barman_gmail.com on Mon, Sep 9, 9:17 AM.

Details

Reviewers
mmacy
Summary

pmcstat works fine as process exits every time once it is completed.

However, if the userspace program is not closed, logfile flags is not clear even profiling is closed. flags are cleaned only when process is exited through the function call pmc_process_exit.

Flag po->po_flags is now cleaned after profile is being closed.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

hwpmc log file flag is not cleaned after profile session is completed

pmcstat works fine as process exits every time once it is completed.
However, if the userspace program is not closed, logfile flags is not clear even profiling is closed. flags are cleaned only when process is exited through the function call pmc_process_exit.
Flag po->po_flags is now cleaned after profile is being closed.