In a Linux System, I would like to get a list of all the files that are being opened(read or write) by a specific process in his lifetime. His lifetime could be several hours, from start to finish.
I do not want to debug the kernel.
I don't mind using a simulation program like http://valgrind.org/
I tried using lsof, however I am not sure if all the files are listed that were ever opened.