Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp504479imm; Wed, 29 Aug 2018 05:32:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBGBOnP2PDhzuLsYh0WMwbRgNDpsTKlqqsv7XlWCPbJDdsZMprx5UGL/5Lwhf62PZ67HBH X-Received: by 2002:a17:902:bd44:: with SMTP id b4-v6mr5818954plx.144.1535545978363; Wed, 29 Aug 2018 05:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535545978; cv=none; d=google.com; s=arc-20160816; b=KMpe1Zfq1FeyMuyerMkq9hfsuxk51uVEP+HHNwd1scDfk/1CGaMgYolGOueVGVZC3X Y34eJnV9NcdvdNjLgkjD92nqua+B2Eq9o84x5sUieythhvJcpEJyNtFMeqy7jE4YgPw6 JqkemrjnLvltfTUKg1KnCYzjzC11wGigI5/6BS94Ulorr331OjV+R1bsGKphF1bJOke/ tuEzXHh/Iulbp1Fb0CJ20gh6nIUEeeV+8uq1ObOmi0OtbVYKZgIoiDmzXuJw+n1fDDCF q7hGBnaNa290JKIpkJnVMa3a8cNtbLhiFLLhtwoKCPILIrcAaOIeqdb2YV/Dtc3G6jmz 75Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=44g6Zy1wNBnya2mMeli7v/3kqfSkk2oTAcHk9GhhS1I=; b=UiAcBnrrCUjcx3eoUmDhrHqRMFECE/78XULMbhaSAZZaAKXhbSZzaRypnGQixcmesB XC0Bp6RxL+jbEPu5all2jUTk04PDijRDK4+mx1ba3uTbP8pBTJOA6URBs0XYeFWQ7nB9 YPshgvG6wAHryZRsR9lROWp+juR2XcnHRNNVQOBHw/bksJR0xp8bAOkZJbj2O95Hk4Qk 9mkP19rsWRctkbKiEcZiOpD9m2ZRspzP/F6jcTwFNGSnQDiUAscmJvo98dYDHc0exUqx g0PfughbT5VuoQztJQOLWfjcJGCa9NO5fuyo58voyelXIhD60wG+xkLONHIPQyw6pqIH cpbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=XbH5Tj2O; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17-v6si3785914pfi.183.2018.08.29.05.32.43; Wed, 29 Aug 2018 05:32:58 -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=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=XbH5Tj2O; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728117AbeH2Q2N (ORCPT + 99 others); Wed, 29 Aug 2018 12:28:13 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:46432 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbeH2Q2N (ORCPT ); Wed, 29 Aug 2018 12:28:13 -0400 Received: by mail-ed1-f66.google.com with SMTP id k14-v6so3767760edr.13 for ; Wed, 29 Aug 2018 05:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owltronix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=44g6Zy1wNBnya2mMeli7v/3kqfSkk2oTAcHk9GhhS1I=; b=XbH5Tj2OU3ScxKPnFVXaMihib/bypEiDqhA9vUYdlqB+XNT9Y6aRcNWv8ayYJf+Nk0 9pUZZfa3Vz3rNs5DiMHflfKRNztljh6y4CmN5aSfgfQKvAh40aHQOvaa1hIrVjkhVpJj ZZVErLNcMCIOUVt/1csMGiNg/vAXnKiv8sisR4qF7tH0ZRdM7n0xLsXwf7QAGZ2b8Ahk JRAHQty8llFp6z9fydROBiAopxAwCQx+0jDzhpWpdXI0W2gIZVfVl8FXWA72I4QyhlNW BeHllhsX1Qb3oJGq5VuJl26ru0FtOCgbGY6Oc2THrtMMFjNvG8SETIDVTXAttN3mglB0 5mOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=44g6Zy1wNBnya2mMeli7v/3kqfSkk2oTAcHk9GhhS1I=; b=nVQGV8mo8rgdeh17DA9a/HL9+xmLBDP8kUZa2ZbplBEgrohvNTYWnUeUeARNy5LdlV 3Z6cahRQ2cwN4rVZoRHhZUdq2uAuYwQGokW5f4xikIZYx3vGsV/mC1MCACxkbJeqyg3E RPLexWqqH3JwV7vKdOoVVsWCJ2wDaAC9DMUguC9ZWviDrH64caV6MMh0SEEfNG7ntWPA fzEv5x8PJuQ1NXJl0oIinWpm08zw0W1Wb2iIeL1+ADQdbgFM2a2hhtwtg/a+7ymfrycB ZM/UqbDZzJswwFHjbRARq89GIL1+gtHvy1Uy9BC/Ikg/XeZyzxS1KkLC5vIgCkjJvjl4 Lv7g== X-Gm-Message-State: APzg51BuEIXGoIArLBRp9g2GJkweeg1JLAOnV6t3ufrSLSS94QE8Oste cfFPwhBe7/QlBb1kNEpsTwGglA== X-Received: by 2002:a50:8921:: with SMTP id e30-v6mr7523173ede.121.1535545890199; Wed, 29 Aug 2018 05:31:30 -0700 (PDT) Received: from titan.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id r44-v6sm2765454edd.87.2018.08.29.05.31.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Aug 2018 05:31:29 -0700 (PDT) From: Hans Holmberg To: Matias Bjorling Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Gonzales , Hans Holmberg Subject: [PATCH 0/4] Introduce trace events for pblk Date: Wed, 29 Aug 2018 14:31:13 +0200 Message-Id: <1535545877-770-1-git-send-email-hans.ml.holmberg@owltronix.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans Holmberg This patchset adds trace events for tracking the internal state of pblk. I've used the events extensively the last few months, and they have proven very useful. The patches depend on some of Javier's for-4.20 patches. For ordering, see: Branch: for-4.20/pblk Remote: ssh://github.com/OpenChannelSSD/linux Hans Holmberg (4): lightnvm: pblk: add trace events for chunk states lightnvm: pblk: add trace events for line state changes lightnvm: pblk: add trace events for pblk state changes lightnvm: pblk: add tracing for chunk resets drivers/lightnvm/pblk-core.c | 69 ++++++++++++++++++- drivers/lightnvm/pblk-gc.c | 8 +++ drivers/lightnvm/pblk-init.c | 8 +++ drivers/lightnvm/pblk-recovery.c | 6 ++ drivers/lightnvm/pblk-trace.h | 145 +++++++++++++++++++++++++++++++++++++++ drivers/lightnvm/pblk-write.c | 10 ++- drivers/lightnvm/pblk.h | 14 ++++ 7 files changed, 256 insertions(+), 4 deletions(-) create mode 100644 drivers/lightnvm/pblk-trace.h -- 2.7.4