From patchwork Tue May 10 00:22:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaohua Li X-Patchwork-Id: 9052681 Return-Path: X-Original-To: patchwork-linux-block@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A2D77BF29F for ; Tue, 10 May 2016 00:23:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D20EE2010E for ; Tue, 10 May 2016 00:22:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ED8D3200FE for ; Tue, 10 May 2016 00:22:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753770AbcEJAWT (ORCPT ); Mon, 9 May 2016 20:22:19 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:10332 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753538AbcEJAWT (ORCPT ); Mon, 9 May 2016 20:22:19 -0400 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u4A0LuGv016050 for ; Mon, 9 May 2016 17:22:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=EjrNWRT2mFR8saC31ylKjzyf39RhMvoX8isi0inlzas=; b=fNdvoaJ3Vhd35PEx5j+mBvF9dT5uPVp2savwHGpaDEV/fKEAch9Y29kovHLPn9r/VnBy 6nU6lvvNoeM9cChqsNZS3iZtKAJkFczTPrE7vowIkMhPxF22rI838WkoAy5irrHbtJmg tmall8mG2no8VYg1jv+UTYxdntwMlNuEd3c= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 22u4pgr2c9-1 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 09 May 2016 17:22:18 -0700 Received: from mx-out.facebook.com (192.168.52.123) by PRN-CHUB14.TheFacebook.com (192.168.16.24) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 9 May 2016 17:22:17 -0700 Received: from facebook.com (2401:db00:11:d0a2:face:0:39:0) by mx-out.facebook.com (10.223.100.99) with ESMTP id 40177ffe164511e6b23f24be05956610-e0bfdc50 for ; Mon, 09 May 2016 17:22:16 -0700 Received: by devbig084.prn1.facebook.com (Postfix, from userid 11222) id 010BE49C0A6A; Mon, 9 May 2016 17:22:15 -0700 (PDT) From: Shaohua Li To: , CC: Steven Rostedt , , Subject: [PATCH 2/3] blktrace: add missed mask name Date: Mon, 9 May 2016 17:22:14 -0700 Message-ID: X-Mailer: git-send-email 2.8.0.rc2 In-Reply-To: <2c3ee532132f8925dd0be1178e8dee0bba6b448c.1462838969.git.shli@fb.com> References: <2c3ee532132f8925dd0be1178e8dee0bba6b448c.1462838969.git.shli@fb.com> X-FB-Internal: Safe MIME-Version: 1.0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-05-09_09:, , signatures=0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP BLK_TC_NOTIFY is missed in mask_maps, so we can't print out notify or set mask with 'notify' name. Signed-off-by: Shaohua Li Reviewed-by: Jeff Moyer --- kernel/trace/blktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 8ae9ea2..9aef865 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c @@ -1552,6 +1552,7 @@ static const struct { { BLK_TC_COMPLETE, "complete" }, { BLK_TC_FS, "fs" }, { BLK_TC_PC, "pc" }, + { BLK_TC_NOTIFY, "notify" }, { BLK_TC_AHEAD, "ahead" }, { BLK_TC_META, "meta" }, { BLK_TC_DISCARD, "discard" },