sapling/eden
Genevieve Helsel 58188931c3 file access logging in FileInode
Summary:
This is adds file access logging in the Inode layer of the code. We log the cause (channel, thrift, unknown) and the cause detail (which is the FUSE opcode for fuse, function name for thrift). We do the work on a worker thread since we need to traverse the inode map to translate an inode number to a file path. The workerthread in this code is largely based off of the one in the ProcessNameCache.

At this moment, I am not worrying about logging inode creation as a file access. The nice thing about putting this in FileInode is that it should be able to be used by NFS for free.

I've left a TODO in the code about not logging files that match gitignore patterns since its not a hard blocker for this to land.

Reviewed By: kmancini

Differential Revision: D29128258

fbshipit-source-id: 3e08a3567fed937a381b58847ea83569d70f0ea2
2021-06-29 09:45:47 -07:00
..
fs file access logging in FileInode 2021-06-29 09:45:47 -07:00
hg-server third-party/rust: update Tokio to 1.7.1 2021-06-25 06:17:41 -07:00
integration eden: update start_test to pass path to edenfs binary 2021-06-22 04:43:31 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke mononoke: allow creation of multiple symlinks that point to the same directory 2021-06-28 04:04:46 -07:00
scm Add edenapi_retries to FileStore 2021-06-28 18:31:01 -07:00
test_support suppress errors in fbcode/eden - batch 1 2021-06-08 11:50:05 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00