Message ID | f8b136ef2605c1bf62020462d10e35228760aa19.1743965272.git.len.brown@intel.com |
---|---|
State | New |
Headers | show |
Series | [01/10] tools/power turbostat: Clustered Uncore MHz counters should honor show/hide options | expand |
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 70e17d4ad9b6..c9a34c16c7a8 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -6039,6 +6039,7 @@ int snapshot_graphics(int idx) int retval; rewind(gfx_info[idx].fp); + fflush(gfx_info[idx].fp); switch (idx) { case GFX_rc6: