This tracepoint gives visibility on how often the flushing of memcg stats occurs and contains info on whether it was forced, skipped, and the value of stats updated. It can help with understanding how readers are affected by having to perform the flush, and the effectiveness of the flush by inspecting the number of stats updated. Paired with the recently added tracepoints for tracing rstat updates, it can also help show correlation where stats exceed thresholds frequently. JP Kobryn (2): add memcg flush tracepoint event use memcg flush tracepoint include/trace/events/memcg.h | 25 +++++++++++++++++++++++++ mm/memcontrol.c | 22 +++++++++++++--------- 2 files changed, 38 insertions(+), 9 deletions(-) -- 2.47.0