Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1645908rdh; Fri, 24 Nov 2023 20:11:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IETRsVgofCUxwILzFA7OuhYj5qTbiLeT/VF8CS4fX27KCPE6AjE/xTgp/1+kwr1RXv9HWh4 X-Received: by 2002:a17:902:cec7:b0:1cf:8e9e:8812 with SMTP id d7-20020a170902cec700b001cf8e9e8812mr5912830plg.21.1700885497124; Fri, 24 Nov 2023 20:11:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700885497; cv=none; d=google.com; s=arc-20160816; b=vHZge1miTygTeDAY6hFQwuXt0765w19nwWKwX3gMrFJ2hd/Zhg2anxJNuIhebOngZp 7Ffl6fcdopLrqsb8r6KB9lXtBkgShLkYoAcelbltiSnwWEdPs5RVhT+ok0KyhE50IRIm 4kl1Vsw85wszd4q5++xZ6986SJS9Ztzi/wKmSrZcWWUsGuFqNUnumilqx0y4ph9obaBr 9nc7yWPJ7tyUijmcXNmjCN5Y+uVprW9QHV78xMyOOf+3BvKjPxVCPgSXDa17R/x6IL5m PqnSi+mN8hEeQDmVHMEcDSGvfWfselxLi3VTdKDn2g0u4PQ2lugj3YJJTJVderq95kDF 6g+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=NqhlfgxGgx9fuK+3cxhiPykwd/Rof6Ckfp7i+cSoLWU=; fh=DljA6aedWyQom500bKqXjVRDdxD4O7idH0HQpQPLjlU=; b=YyJQNYopdWCzwHRUcDHvZtADGlQjXu0c2dP3X5wMBA4OvYQnVQIG3bVdzzwyPJyBM1 Tz7at9xX48EkB7uoA2uew3zU3VA5+5YIZ+hcXlKQVDW6DOPaZnnBctINLvSF7e96HfkM nbRfHEPmWR5ox8gzC/M/CBf6GiBT6C/lKGr76/BWYxyAqi01yDR4YO34Fgi+SOS1VqYG mhQjgcrvh0WruUndz/wP7X1GPxgxqMnkjXcltr6sNah+UZSDhcpP1unihxi3S3qE45zj la8aqngT2GJTQROooj9gjE8mbqCbL+wuBqzd67+KPJ5vRB95IyMjF1+Y9eeOBRpSuWct LpSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=fBlK6B3y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u3-20020a17090341c300b001c9ff461649si5192863ple.581.2023.11.24.20.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 20:11:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=fBlK6B3y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C57F6804158A; Fri, 24 Nov 2023 20:11:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229694AbjKYELG (ORCPT + 99 others); Fri, 24 Nov 2023 23:11:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjKYELE (ORCPT ); Fri, 24 Nov 2023 23:11:04 -0500 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEAA310D7 for ; Fri, 24 Nov 2023 20:11:10 -0800 (PST) Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-1cc41aed6a5so28110595ad.0 for ; Fri, 24 Nov 2023 20:11:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1700885470; x=1701490270; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=NqhlfgxGgx9fuK+3cxhiPykwd/Rof6Ckfp7i+cSoLWU=; b=fBlK6B3yI2su9C/li2BL1diWwRzT5cvV3f+b+9hozIfN1VUDz6IBgY8N3Chd13SFTL aog1E8tK5xe1mdie9bTr3UVj2WW17MaX8AoIcM66wCDyUM4dGW8YZgOhYzcNBdz5TmFD hC7m4E52TKVv3/ucmF6TtbWBTPYQU3gvFlnWuSB8d226g1qsIa8z46LDguwk3x8Gqpp3 7H7GnJ7vDZStaUWO5f13eWv/8YIsResb9i/PjgKE3d8V1snJ602QBuoV8o86lzJSZmdo vl8BVxyfrKT1pfsYxu297sLPCzYZcBx7Yn1us9mAnsgcSlhxYKGybgE0OUArZhM9F709 T8zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700885470; x=1701490270; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NqhlfgxGgx9fuK+3cxhiPykwd/Rof6Ckfp7i+cSoLWU=; b=IMDXkMTJksDVvv8x1YgUW3A39Gb71GJB5dzRfFh9/1RCz3HdgLmo0t24jlqKQAsPnK jcVX8UzGqdFkkD0W5wgoW3oH+8CvsqYHacQuuZKmJH5MTjjCpOfl6RLIMvpd37NGxfEy Q14HjTd+0m3i8lt4jXRwUYP3WZgXCh3FOCHN1aoC1qbyg/G+lMMdNnMGt/qmY7zMak3j NHYAIwm6fF7qJRPMcbX7YXvsibK222RTLGv5zNLPCioIxn9I1dT18UPQzOVX8YII1QFa sfj/AYCTgp0iiBFtUoK3hRhDZ/KNoDuorRj2JURSX7mJuC6bhm+JKrOWIBC93WqPCDq/ QnTw== X-Gm-Message-State: AOJu0YxfMyTEzxHAhxH3UGIvM8B3iACDJeJPB3XqFQEg7OpDVS66HncQ /rK7cyqdT1zg9lL/4gLhOHN1tuYtBI4Htg== X-Received: from shakeelb.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:262e]) (user=shakeelb job=sendgmr) by 2002:a17:902:e88f:b0:1c9:c879:ee82 with SMTP id w15-20020a170902e88f00b001c9c879ee82mr1057524plg.11.1700885470150; Fri, 24 Nov 2023 20:11:10 -0800 (PST) Date: Sat, 25 Nov 2023 04:11:07 +0000 In-Reply-To: <20231123193937.11628-2-ddrokosov@salutedevices.com> Mime-Version: 1.0 References: <20231123193937.11628-1-ddrokosov@salutedevices.com> <20231123193937.11628-2-ddrokosov@salutedevices.com> Message-ID: <20231125041107.wgpskqegywpt7l2o@google.com> Subject: Re: [PATCH v3 1/2] mm: memcg: print out cgroup ino in the memcg tracepoints From: Shakeel Butt To: Dmitry Rokosov Cc: rostedt@goodmis.org, mhiramat@kernel.org, hannes@cmpxchg.org, mhocko@kernel.org, roman.gushchin@linux.dev, muchun.song@linux.dev, mhocko@suse.com, akpm@linux-foundation.org, kernel@sberdevices.ru, rockosov@gmail.com, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 24 Nov 2023 20:11:35 -0800 (PST) On Thu, Nov 23, 2023 at 10:39:36PM +0300, Dmitry Rokosov wrote: > Sometimes, it becomes necessary to determine the memcg tracepoint event > that has occurred. This is particularly relevant in scenarios involving > a large cgroup hierarchy, where users may wish to trace the process of > reclamation within a specific cgroup(s) by applying a filter. > > The function cgroup_ino() is a useful tool for this purpose. > To integrate cgroup_ino() into the existing memcg tracepoints, this > patch introduces a new tracepoint template for the begin() and end() > events. > > Signed-off-by: Dmitry Rokosov Acked-by: Shakeel Butt