Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4372881imd; Tue, 30 Oct 2018 00:25:45 -0700 (PDT) X-Google-Smtp-Source: AJdET5ffoR1I9kbplbgi1EPMvszMHdvfbqBPYYtruKD+rLcURyFFUvZXBhL7BSCZjGrcc17Cd7Au X-Received: by 2002:a17:902:4383:: with SMTP id j3-v6mr17919299pld.265.1540884345437; Tue, 30 Oct 2018 00:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540884345; cv=none; d=google.com; s=arc-20160816; b=rqdseACs8IMwMZHNoeOFkB6Xoegkmfofr963a7FvxPe8HoV2so9j5szmVoEWmBV57I Dc3B/FsAFKmyBD3nVP7qAx/OqMUwIXlwdLbKNNDRvM3DRdcKw+r5MqEb7JSWsB6C93Fe mmwUqf3X+47RPspEV/bTjMLfvd4qnD1VAiNs/PQx/Hnj6oKklWT9yoxF7DBZn+Rb5qFR u4rtfYuon8FbjiPkZAUSBPJpop+kPHdtp23XlQNqo9TKw87J65cCjvAMMvE8k+3gzjby ZiIX5Nrmg8TF0kokfAls2rBkjp//sxj9Qn3jJociPuX1cFwp4uCSyB4elum5i7B5f0xK dLxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4DJuc2i95zXJlo6qm/8qeVQ2k/FdiYTh2vtUfqEHMF0=; b=0j+PeWfTi2JJ+Jk4gq66SMFtYwRk1ch0BiIxtdM/f08PXGEMX6NN+mlIyvLPWeg+gH Tz2qRdBuFy065zT8Ee/6Gx+ipFdYrDupzRGIokJEdOPVqnb2uvXvaUCONKhm6TtDlBDe PBRZ72OrduTvihOp7wGN2nFeyQE4QrEGfz5LIiZYgdklQfd97zizJpB31oYLQtoUX/SC WuRKt566k4ADT9tUM98Rvf3DkLjzYOkpgMu4kh18z5j69R34GS3Kui0w5DYPip8yY3mF 7k0yOr+PKDPcksWUJJHqP0ZkIeaN5ljWMBT5HS8XBtfzoQ0ti8BInp6CaVE3WZdGBozT 9AJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nXjD184b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11-v6si22908175pgi.139.2018.10.30.00.25.29; Tue, 30 Oct 2018 00:25:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nXjD184b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbeJ3QPw (ORCPT + 99 others); Tue, 30 Oct 2018 12:15:52 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35670 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbeJ3QPv (ORCPT ); Tue, 30 Oct 2018 12:15:51 -0400 Received: by mail-ot1-f68.google.com with SMTP id 14so10164495oth.2 for ; Tue, 30 Oct 2018 00:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4DJuc2i95zXJlo6qm/8qeVQ2k/FdiYTh2vtUfqEHMF0=; b=nXjD184bujdfTLhc2MD4rHMgHvxRPMtWf3zURasKYCodQys61tZz6CvyJMXtjthp89 WxLumFErgqy+4jiGvkDbjI45UnhWFTLQVEKPiwlam2VYVZgwvA8G1gabKQCBoV0ROuYT LZjEPEU+WXf6trF/At2KUjOfMZX6jx8g4mRbpYXMTARPnXoDj+fWFZ7+ItHqCmNP7WON OzLYkBNpHdQMQHNTRBl/pERRWxqDnDq7UAwDjRXv1V2ZV+wEezXtvxA1eN2C/pP2tR8J D/JT9VxlB7c4nM6Yas5GxCC1NNWSlErn9uSe9Y1lFTjr5A5mzw9XPUX5UH3lfyOPbJXC ERBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4DJuc2i95zXJlo6qm/8qeVQ2k/FdiYTh2vtUfqEHMF0=; b=BZNs9aVL4aqg31uNYylBT1urPCir6ucYQ7FpINrV28uNcCMWnBqvtPa5lwV98fuSr+ AFervZmOyYjVU2QdQb1oEZ46oy0RjCok54VFEK0JG6f1PuuordQluIKo9uiJiz8MfWot wCET6Y507yp9V8ocOXYnRMVw4gpqxeVCuTnlv7hmMEiNqu88Y/BiYF+pblfCq+qZo0Bd lMge8DHdC+WJkIsG/77nthDZuzhl9FzUroEFpZzNk5BOyjD2FHCb1KYqKEgFGga5Jp2J jpdou1zJn6cxmHbLC94sjVOR1UM6Mq06DygFFEalIoBrFrHRwj4oWq0MeyANJ5j8G1qP DZGg== X-Gm-Message-State: AGRZ1gJMpw2lBYa4Hs/BFvgs7vbSdKEK6ZuzRDdwgGRPgOabXLYvmUS0 Qzil6f7djQDj6MdEYx32hqwSay63zOANkDZYiPc= X-Received: by 2002:a9d:7383:: with SMTP id j3mr7222828otk.117.1540884212956; Tue, 30 Oct 2018 00:23:32 -0700 (PDT) MIME-Version: 1.0 References: <20181029121516.29574-1-david.abdurachmanov@gmail.com> In-Reply-To: <20181029121516.29574-1-david.abdurachmanov@gmail.com> From: David Abdurachmanov Date: Tue, 30 Oct 2018 08:23:21 +0100 Message-ID: Subject: Re: [PATCH] riscv: fix trace_sys_exit hook To: Palmer Dabbelt , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 1:15 PM David Abdurachmanov wrote: > > Depends on: > http://lists.infradead.org/pipermail/linux-riscv/2018-October/001931.html > > Why we don't have HAVE_SYSCALL_TRACEPOINTS in arch/riscv/Kconfig? > I looked this morning into Documentation/trace/ftrace-design.rst again. Of all the things the document describes we are only missing HAVE_SYSCALL_TRACEPOINTS in Kconfig, yet we already have it implemented in ptrace.c (+ this minor fix). Reading document, I think, we check all the boxes needed for HAVE_SYSCALL_TRACEPOINTS. I assume it was just missed (?) and will do v2 later on. david