I need to write a C program to track memory reads and writes of an application running in linux. I'm doing this caz I need to characterize the memory usage pattern for the application.
The big question is: how can I know/track through a C program that memory has been accessed (r/w) by some other application.
Any help will be appreciated. Thanks