I would like to generate a report or histogram of file access counts, for every file accessed while a process is running. ...And not just files accessed by that process, but ideally all child/grandchild/etc processes as well. (Failing that, a system-wide report would be fine.)
I would also need to specify multiple filesystems to monitor. But, I could get by with running multiple test passes, once per filesystem.
I have googled for phrases such as "linux file access count histogram", but didn't find anything that seemed to match this need.
Is there an existing tool which can accomplish this? I prefer open-source/free software.