The quilt patch titled Subject: memcg-add-tracing-for-memcg-stat-updates-v2 has been removed from the -mm tree. Its filename was memcg-add-tracing-for-memcg-stat-updates-v2.patch This patch was dropped because it was folded into memcg-add-tracing-for-memcg-stat-updates.patch ------------------------------------------------------ From: Shakeel Butt <shakeel.butt@xxxxxxxxx> Subject: memcg-add-tracing-for-memcg-stat-updates-v2 Date: Tue, 15 Oct 2024 14:37:21 -0700 use unsigned long type for memcg_rstat_events, per Yosry Link: https://lkml.kernel.org/r/20241015213721.3804209-1-shakeel.butt@xxxxxxxxx Signed-off-by: Shakeel Butt <shakeel.butt@xxxxxxxxx> Acked-by: Roman Gushchin <roman.gushchin@xxxxxxxxx> Reviewed-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx> Cc: JP Kobryn <inwardvessel@xxxxxxxxx> Cc: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/trace/events/memcg.h | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) --- a/include/trace/events/memcg.h~memcg-add-tracing-for-memcg-stat-updates-v2 +++ a/include/trace/events/memcg.h @@ -9,7 +9,7 @@ #include <linux/tracepoint.h> -DECLARE_EVENT_CLASS(memcg_rstat, +DECLARE_EVENT_CLASS(memcg_rstat_stats, TP_PROTO(struct mem_cgroup *memcg, int item, int val), @@ -31,23 +31,45 @@ DECLARE_EVENT_CLASS(memcg_rstat, __entry->id, __entry->item, __entry->val) ); -DEFINE_EVENT(memcg_rstat, mod_memcg_state, +DEFINE_EVENT(memcg_rstat_stats, mod_memcg_state, TP_PROTO(struct mem_cgroup *memcg, int item, int val), TP_ARGS(memcg, item, val) ); -DEFINE_EVENT(memcg_rstat, mod_memcg_lruvec_state, +DEFINE_EVENT(memcg_rstat_stats, mod_memcg_lruvec_state, TP_PROTO(struct mem_cgroup *memcg, int item, int val), TP_ARGS(memcg, item, val) ); -DEFINE_EVENT(memcg_rstat, count_memcg_events, +DECLARE_EVENT_CLASS(memcg_rstat_events, - TP_PROTO(struct mem_cgroup *memcg, int item, int val), + TP_PROTO(struct mem_cgroup *memcg, int item, unsigned long val), + + TP_ARGS(memcg, item, val), + + TP_STRUCT__entry( + __field(u64, id) + __field(int, item) + __field(unsigned long, val) + ), + + TP_fast_assign( + __entry->id = cgroup_id(memcg->css.cgroup); + __entry->item = item; + __entry->val = val; + ), + + TP_printk("memcg_id=%llu item=%d val=%lu", + __entry->id, __entry->item, __entry->val) +); + +DEFINE_EVENT(memcg_rstat_events, count_memcg_events, + + TP_PROTO(struct mem_cgroup *memcg, int item, unsigned long val), TP_ARGS(memcg, item, val) ); _ Patches currently in -mm which might be from shakeel.butt@xxxxxxxxx are mm-optimize-truncation-of-shadow-entries.patch mm-optimize-invalidation-of-shadow-entries.patch mm-truncate-reset-xa_has_values-flag-on-each-iteration.patch memcg-add-tracing-for-memcg-stat-updates.patch memcg-v1-fully-deprecate-move_charge_at_immigrate.patch memcg-v1-remove-charge-move-code.patch memcg-v1-no-need-for-memcg-locking-for-dirty-tracking.patch memcg-v1-no-need-for-memcg-locking-for-writeback-tracking.patch memcg-v1-no-need-for-memcg-locking-for-mglru.patch memcg-v1-no-need-for-memcg-locking-for-mglru-fix-2.patch memcg-v1-remove-memcg-move-locking-code.patch memcg-workingset-remove-folio_memcg_rcu-usage.patch