diff options
author | Ocean Chen <oceanchen@google.com> | 2022-08-26 09:53:22 +0800 |
---|---|---|
committer | Ocean Chen <oceanchen@google.com> | 2022-08-26 09:53:22 +0800 |
commit | 73d2b50eb758b971936cb95393dce46186329e1d (patch) | |
tree | 2b19752d0feba1a7b3dcd5c827f7fcdbb0107307 | |
parent | fa8cfd6ea0cc9c6a94535dea971f93568dd60c40 (diff) |
pixelstats: Correct gc_urgent_mid mode index
It used the wrong index to upload data.
Bug: 229049054
Change-Id: I97ca5014c7a341b919853ecfdabfd44df57f2735
-rw-r--r-- | pixelstats/SysfsCollector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixelstats/SysfsCollector.cpp b/pixelstats/SysfsCollector.cpp index 3f3da67..30fd676 100644 --- a/pixelstats/SysfsCollector.cpp +++ b/pixelstats/SysfsCollector.cpp @@ -720,7 +720,7 @@ void SysfsCollector::logF2fsGcSegmentInfo(const std::shared_ptr<IStats> &stats_c tmp.set<VendorAtomValue::intValue>(reclaimed_segments_urgent_low); values[F2fsGcSegmentInfo::kReclaimedSegmentsUrgentLowFieldNumber - kVendorAtomOffset] = tmp; tmp.set<VendorAtomValue::intValue>(reclaimed_segments_urgent_mid); - values[F2fsGcSegmentInfo::kReclaimedSegmentsUrgentLowFieldNumber - kVendorAtomOffset] = tmp; + values[F2fsGcSegmentInfo::kReclaimedSegmentsUrgentMidFieldNumber - kVendorAtomOffset] = tmp; // Send vendor atom to IStats HAL VendorAtom event = {.reverseDomainName = "", |