Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
gkhandake committed Nov 25, 2024
1 parent a2b89a6 commit 05f0330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/common-code/cmonitor_statistics_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def dump_cpu_throttle_stats(self, verbose) -> dict:
return self.cpu_throttle.dump_json(verbose)

def insert_memory_stats(self, stats: dict, sample_index: int, cgroup_version: int) -> None:
stat_labels = ["stat.rss"] if cgroup_version == 1 else ["stats.anon", "stat.file"]
stat_labels = ["stat.rss"] if cgroup_version == 1 else ["stat.anon", "stat.file"]
rss = 0
all_stat_found = True
for stat_label in stat_labels:
Expand Down

0 comments on commit 05f0330

Please sign in to comment.