Fix test of getrusage fixes
* fix: Bug for getrusage return incorrect ru_maxrss
* fix: Bug for getrusage(RUSAGE_CHILDREN) return parent info
(POSTK_DEBUG_TEIX_72)
* fix: Bug for getrusage often return incorrect ru_stime
Refs: #1032
Refs: #1033
Refs: #1034
Change-Id: Ifba95e4cb48ae551839819eb3abe26b37da4b196
This commit is contained in:
@ -26,9 +26,6 @@ static int dev_release(struct inode *inode, struct file *file)
|
||||
|
||||
static long dev_ioctl(struct file *file, unsigned int request, unsigned long arg)
|
||||
{
|
||||
mdelay(request * 1000);
|
||||
return 0;
|
||||
/*
|
||||
struct timespec s_time, c_time;
|
||||
|
||||
getnstimeofday(&s_time);
|
||||
@ -42,7 +39,6 @@ static long dev_ioctl(struct file *file, unsigned int request, unsigned long arg
|
||||
}
|
||||
|
||||
return 0;
|
||||
*/
|
||||
}
|
||||
|
||||
static struct file_operations fops = {
|
||||
|
||||
Reference in New Issue
Block a user