Re: [REGRESSION] Two issues that prevent process accounting (taskstats) from working correctly

2017-02-12 Thread Dmitry Romanov
ehaviour.\n"); } /* Turn off accounting and remove accounting file*/ if ( acct(NULL) < 0 ) { perror("Process accounting off"); return -1; } if ( remove(ACCTFILENAME) == -1 ) { perror("Removing acc

Re: [REGRESSION] Two issues that prevent process accounting (taskstats) from working correctly

2017-02-10 Thread Dmitry Romanov
ehaviour.\n"); } /* Turn off accounting and remove accounting file*/ if ( acct(NULL) < 0 ) { perror("Process accounting off"); return -1; } if ( remove(ACCTFILENAME) == -1 ) { perror("Removing acc