Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp608110pxb; Tue, 1 Feb 2022 06:56:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiBoC0L9r9R63Htf2G5OZeIUywj1nsrU8WZTR8bcMA+fUHQrSfzz1YB4A2ibWn8UeXi3uM X-Received: by 2002:a17:90b:817:: with SMTP id bk23mr2723929pjb.134.1643727375258; Tue, 01 Feb 2022 06:56:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643727375; cv=none; d=google.com; s=arc-20160816; b=zdiYHwgMB5gFttAxY9SAGUfQ47JMU9QG9VGWBD5kAKBC20PEl43Puva0rQfv8ZHfHl yQiVQkrTzYjR9X9AUdRQWHKXmHkoJfLmXfipk0tBuhTMamLRpSJ7QK3g8ZY71iJCIVTv U57c1bC57Cc7f/3zgzIhZzyoR819q3pIW4Liy9M6ubYyhxFf0ztT6xR+EJ9uCS9jUUon WUFa++g30tpYTyKO6ww+kPN+ekW2kBWJByuRiADXEaZpv4bohaB9/6RilyFtCuoxQoJY hKGAFD8V9plWcsxFqR45ksASsJbE3uADhkr628M1gyMpc9GQmBzZQgsPax/W0zjZwho8 P0lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=d5oly9nmsFQ7QMk6hl6BDPsL2vg6UnvvOqDcPxXhV0s=; b=NWvzded7gditMwWf+SQHQTXP01XhKF/8R11XvHLbuQjZc7p2SvirZIOo0aP5C/cgWE P/IjBOaVXMFi+rydIJmPbBIiEC3SjicUfleJmBp2OLO5ZpFqtHEoqLSMh9lre6PAiBWU YyTsqT++PoOpmC3wlNyuPaas/pntu9eVn3n1OjIrnzYir7MInAE9+l52jdE++eWaVTX9 /gi49BmoCL9Loc913tv45AixdC0Lh2KuM6mSZIwafJ99Diavqvcw0IxO3U4cHoguxaCE 0ZU8UvRJVV/VMN7h0xoiczoVrpM3uCgvzsOerZ5rDoImoiRO+zOcj6IF2GIulSa8NqEs MMIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iGJKC2Nh; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oj13si2830503pjb.39.2022.02.01.06.56.00; Tue, 01 Feb 2022 06:56:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iGJKC2Nh; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231663AbiA3TGS (ORCPT + 99 others); Sun, 30 Jan 2022 14:06:18 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:47992 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230149AbiA3TGS (ORCPT ); Sun, 30 Jan 2022 14:06:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643569577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=d5oly9nmsFQ7QMk6hl6BDPsL2vg6UnvvOqDcPxXhV0s=; b=iGJKC2NhHulmeFtzPFny29f9DGXXW2Rgxwnkh3ckvvDL7AbOnRaB8wVZ9Vci/aetYMAz7j OQ8P3hJE0K0YNc9KuBmEY/MAUE4GyGnQP8Uq55mBg2EtBMp3rRNs237P04eNd+ilA+QVmJ hfJD12QEcQFWEAZXJb322wPCPIuG+Mw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-610-jgykxxFdO5iKCuD_Kucvlw-1; Sun, 30 Jan 2022 14:06:14 -0500 X-MC-Unique: jgykxxFdO5iKCuD_Kucvlw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 15B541006AA0; Sun, 30 Jan 2022 19:06:13 +0000 (UTC) Received: from madhat.boston.devel.redhat.com (unknown [10.2.16.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8C13C60854; Sun, 30 Jan 2022 19:06:12 +0000 (UTC) From: Steve Dickson To: Bill Baker , Calum Mackay Cc: Linux NFS Mailing list Subject: [PATCH 0/5] Flight Data Recorder Update Date: Sun, 30 Jan 2022 14:06:06 -0500 Message-Id: <20220130190611.12292-1-steved@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Here a few updates to the FDR package that will allow it to work out of the box when the RPM is install... Kinda. When the rpm is installed, the daemon is not enable or started and the config file is not enabled. But it makes much easier set a tracepoint. Uncomment the needed tracepoint and start the fdrd daemon. Then do tail -f on /var/log/nfs.log. The package is very light weight: one daemon, two config files and one example file. The config file that is installed has all of the nfs,nfsv4 and sunrpc tracepoints, commented out. The first 4 patches are clean up... Making things work right out of the box and conforming to current presidencies. The last patch, installing an nfsall.conf config, could be questionable. Do the maintainers want to maintain config files or have the distros do it? I guess the bottom line is this. At the last bakeathon we talked about moving away from rpcdebug setting dprintks to tracepoints (which is a good thing IMHO). Now, it is not clear how it can be done, but I'm hoping this is the first step in that direction. Steve Dickson (5): Makefile: cleaned up the usage of RPMBUILD_DIR fdr.spec: logrotate clean up systemd: rename service file. saveto verb: Document updated configs: Add an nfsall.conf config file Makefile | 8 +- buildrpm/1.3/fdr.spec | 25 ++- configs/nfsall.conf | 319 ++++++++++++++++++++++++++++++++++++ fdrd.man | 9 +- fdr.service => fdrd.service | 0 samples/nfs | 2 + 6 files changed, 349 insertions(+), 14 deletions(-) create mode 100644 configs/nfsall.conf rename fdr.service => fdrd.service (100%) -- 2.34.1