Getting some information inside task_struct from a user application?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I am doing some timing analysis in kernel 2.6.15.
I want to collect the 'utime' and 'stime' information inside task_struct from a user space application.
(1).How can I get these information without hacking the kernel?
(2).I have tried adding a new system call under i386 architecture(using prinfk) and successfully got those information(using dmesg),
     but I failed under x86-64 with same approach. Why can't I get the message from dmesg?
 
 
Best Regards,

Jason Hsin-An Chen

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux