Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933884AbcKWSpI (ORCPT ); Wed, 23 Nov 2016 13:45:08 -0500 Received: from mga09.intel.com ([134.134.136.24]:4058 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933700AbcKWSpG (ORCPT ); Wed, 23 Nov 2016 13:45:06 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,539,1473145200"; d="scan'208";a="904841816" From: Ross Zwisler To: linux-kernel@vger.kernel.org Cc: Ross Zwisler , Alexander Viro , Andrew Morton , Christoph Hellwig , Dan Williams , Dave Chinner , Ingo Molnar , Jan Kara , Matthew Wilcox , Steven Rostedt , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-nvdimm@ml01.01.org Subject: [PATCH 0/6] introduce DAX tracepoint support Date: Wed, 23 Nov 2016 11:44:16 -0700 Message-Id: <1479926662-21718-1-git-send-email-ross.zwisler@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2326 Lines: 41 Tracepoints are the standard way to capture debugging and tracing information in many parts of the kernel, including the XFS and ext4 filesystems. This series creates a tracepoint header for FS DAX and add the first few DAX tracepoints to the PMD fault handler. This allows the tracing for DAX to be done in the same way as the filesystem tracing so that developers can look at them together and get a coherent idea of what the system is doing. I do intend to add tracepoints to the normal 4k DAX fault path and to the DAX I/O path, but I wanted to get feedback on the PMD tracepoints before I went any further. This series is based on Jan Kara's "dax: Clear dirty bits after flushing caches" series: https://lists.01.org/pipermail/linux-nvdimm/2016-November/007864.html I've pushed a git tree with this work here: https://git.kernel.org/cgit/linux/kernel/git/zwisler/linux.git/log/?h=dax_tracepoints Ross Zwisler (6): dax: fix build breakage with ext4, dax and !iomap dax: remove leading space from labels dax: add tracepoint infrastructure, PMD tracing dax: update MAINTAINERS entries for FS DAX dax: add tracepoints to dax_pmd_load_hole() dax: add tracepoints to dax_pmd_insert_mapping() MAINTAINERS | 4 +- fs/Kconfig | 1 + fs/dax.c | 78 ++++++++++++++---------- fs/ext2/Kconfig | 1 - include/linux/mm.h | 14 +++++ include/linux/pfn_t.h | 6 ++ include/trace/events/fs_dax.h | 135 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 206 insertions(+), 33 deletions(-) create mode 100644 include/trace/events/fs_dax.h -- 2.7.4