Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4889443imm; Fri, 18 May 2018 12:25:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZonPEV92BjM+VyFWH4eMMBfXeQzygoGJe/PD6DSO//EH9QR7MaC0w01dc8nh2MOWhU1Kzja X-Received: by 2002:a17:902:6a85:: with SMTP id n5-v6mr2842521plk.288.1526671543636; Fri, 18 May 2018 12:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526671543; cv=none; d=google.com; s=arc-20160816; b=Vr8jyOVqDtRXygiXyFFW03kQB+6RJPfrjjzwxIA/++BMT2B3b7BgaB/hjznSZicYP9 6Uv3s3FDOmryjWyN/6cG4vS53FftBuS76hSs7QXVEOIlgNDjbmwdBG9zqMCmACpRHewY FIikdv+zrc1vECa9mZLofHusenfa2Se23UpjStpNL7EaRaH98E1QCt48fAd6WXpRK1sd ai1diJDbwkvq7jcI+/h5Rb4l3n3cRsrCGldpnOtDNA2rkbmUFkMc84gejKxc0Zf42ivh EYA3X/B0NzcxAUlgJfr5uEiTHNJ7BPIK388uCc7ovgeiRspx7MiE3XA/0dt+527IvLBf BAcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=6E3jPbF8zNX/ebWGpcArkd8mc4cl9mPnFncVyS3Umd4=; b=d9gNcDHINeErG7pE/O5e0/4bsQqW0sbVgT59ASh+aUWnPN4JeZEIdzqVjMyqrO5aeV HzROohc1u7kY0QdaFdNGRQxK0oyxrLOdsPJH4dhnVuXuJF/UBmU0iIb9fcrn9WSjQ/cV HFy8dC3N7p0ZwB7imtRT95YFh72znsBCamheIkE4TTRrOFne/ZZP3SQ1eHWYbm/Vf5Wp lkWkhl096VnYToY9YvcJyQFmvZ/4MpTxAdUnE3An7hOaXyM8cIYtJzLmd6X50zPSt89Q l8LKUi/RjL3Ixr6S+c5bTyiBSdAMLHJHREdzOJPxyGMnNLwoILBBwo3UK9qskalVW7RL Eqgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samba.org header.s=42627210 header.b=lzjjpm4G; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 127-v6si8311291pfe.49.2018.05.18.12.25.29; Fri, 18 May 2018 12:25:43 -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=@samba.org header.s=42627210 header.b=lzjjpm4G; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752103AbeERTZE (ORCPT + 99 others); Fri, 18 May 2018 15:25:04 -0400 Received: from hr2.samba.org ([144.76.82.148]:42324 "EHLO hr2.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbeERTZC (ORCPT ); Fri, 18 May 2018 15:25:02 -0400 X-Greylist: delayed 2306 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 May 2018 15:25:01 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42627210; h=Message-ID:Cc:To:From:Date; bh=6E3jPbF8zNX/ebWGpcArkd8mc4cl9mPnFncVyS3Umd4=; b=lzjjpm4G6gM0QaJAcLf0EeyEnZ 8sgIBF1quiQpkJKEBWBcKeigUFY+lnpxi4y7Pmewti2cdTBuqPp051ucdMZ9zZFSMSpGY3XPVxekm /SvJl+hBQwsf9AM6vmYz/ZfRLH32wOkceVM55ZB1EPmBTc0cVZ6rjlsFKxOn43A7/8DE=; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim) id 1fJkOg-0004DJ-6N; Fri, 18 May 2018 18:46:34 +0000 Date: Fri, 18 May 2018 20:46:32 +0200 From: Ralph =?utf-8?B?QsO2aG1l?= To: Steve French Cc: CIFS , LKML , samba-technical , linux-fsdevel Subject: Re: [PATCHv2][SMB3] Add kernel trace support Message-ID: <20180518184630.axfa7oq4pewb7foj@kazak> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 17, 2018 at 09:36:36PM -0500, Steve French via samba-technical wrote: > Patch updated with additional tracepoint locations and some formatting > improvements. There are some obvious additional tracepoints that could > be added, but this should be a reasonable group to start with. > > From edc02d6f9dc24963d510c7ef59067428d3b082d3 Mon Sep 17 00:00:00 2001 > From: Steve French > Date: Thu, 17 May 2018 21:16:55 -0500 > Subject: [PATCH] smb3: Add ftrace tracepoints for improved SMB3 debugging > > Although dmesg logs and wireshark network traces can be > helpful, being able to dynamically enable/disable tracepoints > (in this case via the kernel ftrace mechanism) can also be > helpful in more quickly debugging problems, and more > selectively tracing the events related to the bug report. > > This patch adds 12 ftrace tracepoints to cifs.ko for SMB3 events > in some obvious locations. Subsequent patches will add more > as needed. > > Example use: > trace-cmd record -e cifs > > trace-cmd show pardon my ignorance, but are these tracepoints usable with other tracing frameworks like Systemtap? Last time I checked, Systemtap looked like *the* tool. Is there a generic trace point infrastructure that tracing tools can consume, so we're not tied to ftrace? Thanks! -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG Key Fingerprint: FAE2 C608 8A24 2520 51C5 59E4 AA1E 9B71 2639 9E46