diff options
author | Jonathan Lebon <jonathan@jlebon.com> | 2018-11-02 15:39:34 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-11-05 14:08:54 +0000 |
commit | 8eac5be030797607715d5a2d973c55edff78a8a2 (patch) | |
tree | 08348f5aa79eef56dbc52a601bbd7742fa74c140 /src/libostree/ostree-repo.h | |
parent | 1dcebe8846335a1f306d599fb7172d84aaa7b0a0 (diff) | |
download | ostree-8eac5be030797607715d5a2d973c55edff78a8a2.tar.gz |
lib/commit: Add devino_cache_hits to txn stats
I found this useful while hacking on rpm-ostree but I think it might be
useful enough to upstream. This stat is really helpful for validating
that a pipeline is hitting the devino cache sweet spot.
Closes: #1772
Approved by: cgwalters
Diffstat (limited to 'src/libostree/ostree-repo.h')
-rw-r--r-- | src/libostree/ostree-repo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h index 829164ba..007cbedd 100644 --- a/src/libostree/ostree-repo.h +++ b/src/libostree/ostree-repo.h @@ -291,8 +291,9 @@ struct _OstreeRepoTransactionStats { guint content_objects_total; guint content_objects_written; guint64 content_bytes_written; + guint devino_cache_hits; - guint64 padding1; + guint padding1; guint64 padding2; guint64 padding3; guint64 padding4; |