From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-26.2 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07132C433E0 for ; Wed, 24 Feb 2021 22:58:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C7D3864F06 for ; Wed, 24 Feb 2021 22:58:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236083AbhBXW5z (ORCPT ); Wed, 24 Feb 2021 17:57:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235728AbhBXW5w (ORCPT ); Wed, 24 Feb 2021 17:57:52 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78391C06174A for ; Wed, 24 Feb 2021 14:57:11 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id v6so3892058ybk.9 for ; Wed, 24 Feb 2021 14:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=z4mBhYxcVjU3ugzDlaj7Ky4xMjoUJPIBACtLHkRazB8=; b=A8tt3t7qdna4lAK4ThJceanHqJOIjULXo61rzAkeQrKoyCkR2wH5RgsDVRnQ64Mojs Hl5Q1CdYHS5lWOg9h9f+I4uLvewd438VGRSxx0dIBofjMw2A+ayjlt2GYckLdYXdXYgO nFJE0G548Ez80vBj9I0S4zNbmgFR29fmzWtwoSDYe5FpQ+U1vrFpTm0yz+I/3RPnpZ4u H5UKaqIISPunOgyNEz1IuVXoQWR5jrBgDOD/FGCZrGu5Nm/Gd8Sq70p2cjaxHfGZC3Ic p8KO2emm0A2AqZu3L6et1epzOaIZYs0Xe8isd5vxrvnw03DHyqOBNh9bi82uQLydr/VE HsoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=z4mBhYxcVjU3ugzDlaj7Ky4xMjoUJPIBACtLHkRazB8=; b=kW+gyniTk5AEtMwnMQi1vR15cD5ZxMTv+d+nEoJffgpXuz2Qe6/anpoxEksk8COG/y kKN2zya4smL8DAbq9XbhEZXVcUUDxTitNv/4LC5PVFwbu0y1hMXPqu+lW28nIw9URvl9 clRvGIlK5ypk8Q4lKt6mTzu6g/lgisT8p0ueYWer7W8CWtrs1zERyTouzQkngYvWjnA5 eDPSde7I+ZEJUpWn2HARdSOUu9USTQ4JGmf12M0FW9TTF10cRDSpHaE/k5gYKeBptX4E 78eDBT2QJ1gBSyIYdkDdFteOSOG32Z7F13yzAe/PDHpyk/HIhd3StzX+rvllFEuxkHBq l3Iw== X-Gm-Message-State: AOAM5311l15ocxTPmdqSGlDPDJ4rpyrGxilv51wuBU8Yg2C7Bp91gfRG A0jE8JIaaUvlspbTP3K9L9600EB3SPs6X8hYYIw= X-Google-Smtp-Source: ABdhPJxS86Ln1XQ+TyhQREO4LaaSg7HDOgrKwtwnUseClDnA8CyNXUHSi6ImX3F5al8juc02g99aYPDROQZ8td6rLss= Sender: "samitolvanen via sendgmr" X-Received: from samitolvanen1.mtv.corp.google.com ([2620:15c:201:2:2c05:1953:5dce:c3b0]) (user=samitolvanen job=sendgmr) by 2002:a25:e695:: with SMTP id d143mr54672281ybh.148.1614207430717; Wed, 24 Feb 2021 14:57:10 -0800 (PST) Date: Wed, 24 Feb 2021 14:57:06 -0800 Message-Id: <20210224225706.2726050-1-samitolvanen@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.30.0.617.g56c4b15f3c-goog Subject: [PATCH v2] parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY From: Sami Tolvanen To: "James E.J. Bottomley" , Helge Deller , Guenter Roeck Cc: "Steven Rostedt (VMware)" , Kees Cook , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Sami Tolvanen Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org parisc uses -fpatchable-function-entry with dynamic ftrace, which means we don't need recordmcount. Select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY to tell that to the build system. Reported-by: Guenter Roeck Fixes: 3b15cdc15956 ("tracing: move function tracer options to Kconfig") Signed-off-by: Sami Tolvanen --- arch/parisc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index ecef9aff9d72..f56c67bbe495 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -61,6 +61,7 @@ config PARISC select HAVE_KRETPROBES select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1) select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE + select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE select HAVE_KPROBES_ON_FTRACE select HAVE_DYNAMIC_FTRACE_WITH_REGS select SET_FS base-commit: 062c84fccc4444805738d76a2699c4d3c95184ec -- 2.30.0.617.g56c4b15f3c-goog