-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register Overlay size dynamic counters
Summary: ## Context: Previously, we added counters for all the operations in Overlay. However, we don't have any counter to show the size of the files and trees in Overlay. Like what we have for `inode`, we can add new dynamic counters are report size of Overlay per mounted repo. ## This diff: This diff register the dynamic call backs. However we also need to add ` OVERLAY_DIR_COUNT` and `OVERLAY_FILE_COUNT` then `EdenMount::getCounterName` can return correct name for these counters. Reviewed By: jdelliot Differential Revision: D62987495 fbshipit-source-id: 98ef5b050ce03826c54d63b4556c279946dd6eaa
- Loading branch information
1 parent
e454bc9
commit fc83d07
Showing
5 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters