| commit | f8b136ef2605c1bf62020462d10e35228760aa19 | [log] [tgz] |
|---|---|---|
| author | Zhang Rui <rui.zhang@intel.com> | Wed Mar 19 08:53:07 2025 +0800 |
| committer | Len Brown <len.brown@intel.com> | Sun Apr 06 12:36:03 2025 -0400 |
| tree | 3c1b1840129d9ee40687c364eae77769ec7bd22f | |
| parent | 3ae8508663372b93c5556a887e96ed0ca5df0711 [diff] |
tools/power turbostat: Restore GFX sysfs fflush() call
Do fflush() to discard the buffered data, before each read of the
graphics sysfs knobs.
Fixes: ba99a4fc8c24 ("tools/power turbostat: Remove unnecessary fflush() call")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>