sapling/eden/fs/testharness
Katie Mancini fdb1af8bc9 add cause info to objectFetchContext
Summary:
Recently the server team added an un-used directory to test that eden would not
fetch these as a test for the upcoming repo merge. They saw that these files
were fetched a non trivial number of times. We want to know why eden is causing
these fetches.

This adds the pid and interface through which the client is interacting with eden to
ObjectFetchContext for this purpose. This information will be logged in later
changes.

note: currently this is only for fetches through Fuse (thrift interface to follow).

Reviewed By: chadaustin

Differential Revision: D22050919

fbshipit-source-id: 49b93257a0e6d910f48b1e8ec6471527e056d22a
2020-06-23 10:02:40 -07:00
..
test thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
CMakeLists.txt use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeBackingStore.cpp thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
FakeBackingStore.h thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
FakeClock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeFuse.cpp replace some uses of memset 2020-01-31 10:50:48 -08:00
FakeFuse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeObjectStore.cpp make open calls from fuse high priority 2020-03-17 02:31:25 -07:00
FakeObjectStore.h refactor - move ObjectFetchContext to its own file 2020-06-23 10:02:40 -07:00
FakePrivHelper.cpp use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakePrivHelper.h use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeTreeBuilder.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeTreeBuilder.h Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.cpp enable remotenames extension in cpp tests 2020-06-10 22:36:10 -07:00
HgRepo.h add getTreeForManifest 2019-12-09 16:25:27 -08:00
InodeUnloader.h enable the checkout tests on Windows 2020-04-26 21:14:24 -07:00
LoggingFetchContext.h add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StoredObject.h fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
TempFile.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
TempFile.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestChecks.h refactor - move ObjectFetchContext to its own file 2020-06-23 10:02:40 -07:00
TestDispatcher.cpp adding ObjectFetchContext to lookup 2020-06-18 10:40:41 -07:00
TestDispatcher.h adding ObjectFetchContext to lookup 2020-06-18 10:40:41 -07:00
TestMain.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMount.cpp start to accept ObjectFetchContext to InodeBase::stat() 2020-06-18 10:40:41 -07:00
TestMount.h inodes: enable RemoveTest for Windows 2020-05-05 18:14:54 -07:00
TestServer.cpp move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
TestServer.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00