Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp331256lqt; Thu, 6 Jun 2024 05:12:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/8qUGg7ZoC2O//5yDiXkPl6NsgMNK7EheNOFLN8g+SbpTOPY04KRHVPnRXHpqpcs3brqhbDW71IXQI6175O4oFP5c4eEs8WVCK1Qd4w== X-Google-Smtp-Source: AGHT+IHzz+NpdoBon6XCqi1mUV1vPRyzAaJRLfDCT1HEpelbhhazV9Cv/EoHOokuhGf4bMSkB8ic X-Received: by 2002:a05:6a20:431e:b0:1af:b89b:a7f1 with SMTP id adf61e73a8af0-1b2c56ad3e8mr3624885637.27.1717675974246; Thu, 06 Jun 2024 05:12:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717675974; cv=pass; d=google.com; s=arc-20160816; b=DTqjI6hKR1JYDY/Jdu6BPB7dGiE2sUEtXhzELBbe+HLuRUo3DypMHSTy8wLrF1/i+C NV6rhuTg1l65nhF1NwEVe+F+5abOmPySOvVRosZclrFRc1Fn96LLWyNQz1wgFf/rX8NA 4AiWpCVw9f0eQNi/vwS0Q9HPnPtIZ12Bqzi1QD9pRddzcWKqUMU0KCXn8Rg/WlFMpmCx Qg4hQSXDS0gJ3H6A4y5akQpgbeCjJ/X+dXKpu+oujW6QfNLYlvpSL97NWixZDF10X47N jACo+KwN/a3Nc/0hyD7ZIDIUlI/6VDCVbTvYoC48EeZ9ULzLQChG69m3Lrjhqsw5stMd 2x4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:subject:cc:to:from:date:user-agent:message-id; bh=+JFlysk0YpNJlT+576FXypSbD9P5H1wFush0AtcpR5o=; fh=mTYg3JJ8i2GBNLFt8qb4bgYwOyk0kmrOzICLbi6qJ1c=; b=aCWjQP3Pi0uCXGqq2AE1bPTqo2wuVtxvHYUDWzRdvRAc+bA1610NCPwLv76TXFtx2E N7oJhFEw5bD+FTs1ZZHwUKvRQMQVQXKsRlI9qSnp+z5iWGAHjudpwjQYpe/V8gnSG3oG SmwrmWL7ovKRabb3/EkF18yASPcGv7Z2ehbDpv63R4BgmAt/PNOSvcTZKqZHz0EzAtgF SrQrTZqKBSBOjccrsVHZCbzY57lQ5jh6VRjtlt2Fd/8bma7VHKvqJjdkSr62vi/IWmXY NBcKNcIU66mDTbBoFDKghgTDINvQ4bDOpT9etT+bOdJRvKqQ5QtYKVDMtZj36nCrDMN5 vKMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-204241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204241-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-703fd56a807si294840b3a.341.2024.06.06.05.12.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 05:12:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-204241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204241-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DBE4C282905 for ; Thu, 6 Jun 2024 12:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08019195B34; Thu, 6 Jun 2024 12:11:01 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 809B5195988 for ; Thu, 6 Jun 2024 12:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717675860; cv=none; b=q2QRixQIV2+0PUM84kIL25KDVMgz5B6yevMMPnfJNttqEEhwfRDXQZtGejF178TfpBtOItG2PqtsswkYIcT71dd2Pr/FT3pCJHlSHooqZAWrIhGM6b/xy0rriMQy56ebK8/2xlj+r4+e73chwXHS4fW90tOiDZ5cGN87eYg4z70= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717675860; c=relaxed/simple; bh=PNceJ0fe4F1UTs7lOuAfilYYz36/N4ma7OLgumFm98I=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=GrwV+SLph3lwa4rSc5/ZeRRHKM50mpk3IVhlYbk+1dUJvL5Am2Kk1EaTn87hGsMfKB3aMYjqSsUre7TJCZdVXJhqirrUo9t7ceru4tNUJMIhL5HOqQKqYC7Knpa/qGa5eSwMKvjQMrZSwfOfLEvokuC2hAAcTtHz3YkMyKWsPFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 237EFC4AF08; Thu, 6 Jun 2024 12:11:00 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from ) id 1sFBxQ-00000000nIt-2veA; Thu, 06 Jun 2024 08:11:04 -0400 Message-ID: <20240606121104.557984575@goodmis.org> User-Agent: quilt/0.68 Date: Thu, 06 Jun 2024 08:10:05 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-next][PATCH 01/15] ftrace: Add back ftrace_update_trampoline() to ftrace_update_pid_func() References: <20240606121004.857581251@goodmis.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: "Steven Rostedt (Google)" The update to the ops trampoline done by the function ftrace_update_trampoline() was accidentally removed from ftrace_update_pid_func(). Add it back. Link: https://lore.kernel.org/linux-trace-kernel/20240605205337.6115e9a5@gandalf.local.home Cc: Masami Hiramatsu Cc: Mark Rutland Cc: Mathieu Desnoyers Cc: Andrew Morton Fixes: df3ec5da6a1e ("function_graph: Add pid tracing back to function graph tracer") Signed-off-by: Steven Rostedt (Google) --- kernel/trace/ftrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index da7e6abf48b4..897d7541041c 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -402,6 +402,7 @@ static void ftrace_update_pid_func(void) if (op->flags & FTRACE_OPS_FL_PID) { op->func = ftrace_pids_enabled(op) ? ftrace_pid_func : op->saved_func; + ftrace_update_trampoline(op); } } while_for_each_ftrace_op(op); -- 2.43.0