From patchwork Fri Jul 12 13:31:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2826940 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8DAE49F7D6 for ; Fri, 12 Jul 2013 13:31:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 676B920151 for ; Fri, 12 Jul 2013 13:31:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BC3620158 for ; Fri, 12 Jul 2013 13:31:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964891Ab3GLNbX (ORCPT ); Fri, 12 Jul 2013 09:31:23 -0400 Received: from mail-we0-f175.google.com ([74.125.82.175]:41861 "EHLO mail-we0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964808Ab3GLNbR (ORCPT ); Fri, 12 Jul 2013 09:31:17 -0400 Received: by mail-we0-f175.google.com with SMTP id t59so8028679wes.20 for ; Fri, 12 Jul 2013 06:31:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=+TWfB5qJvQLs3w7Ha4EJW0E8xgjvJIUXwY3ShuMwZg0=; b=jBq4jEWo1futuERdtLXPXAJItMZnPlkZ/i8WhGVqXdw2/vmY3SEHjikSdlydniFKF/ FXWQxItzgCpvFuZKhr+a5/yUUcKeM6tB9Sth95PmkI13Pu1XSWJQqX7eMtDdMZRikO2t qaN+JuTKJfS+eczK/OF50pCDUmpqQY6tX4yMra2apm68KdkrQ1gp6tFy2MYgPNoMCBGV NbGym8j6+KwaV1v6JZULCojS4fOXl59fA8WNYe7V3YFiwTktOgVplEqbqGalz6U4Q8Ii CNjt6zUQgDOY+Kv4WItYrmQu5uR1lL/KKEyC2mZKOVflJ61BXiuJ5N1DdjbOUoMp2yIT lVPw== X-Received: by 10.180.74.8 with SMTP id p8mr1696711wiv.32.1373635876442; Fri, 12 Jul 2013 06:31:16 -0700 (PDT) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPSA id j20sm3456944wie.7.2013.07.12.06.31.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Jul 2013 06:31:15 -0700 (PDT) Message-ID: <51E00522.3060204@dev.mellanox.co.il> Date: Fri, 12 Jul 2013 09:31:14 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" CC: Alex Netes Subject: [PATCH 3/3 opensm] complib/cl_event_wheel.c: Add print of num_regs in cl_event_wheel_dump X-Gm-Message-State: ALoCoQk4hQJle6cVtAz0diqAv48fWedinLAo9thlorJpcGcNpAg5jmNhQ83qZWH7t735yYoIy6zP Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 From: Alex Netes num_regs is important information in debug mode. Signed-off-by: Alex Netes --- complib/cl_event_wheel.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/complib/cl_event_wheel.c b/complib/cl_event_wheel.c index 901ef8e..365804e 100644 --- a/complib/cl_event_wheel.c +++ b/complib/cl_event_wheel.c @@ -238,8 +238,8 @@ void cl_event_wheel_dump(IN cl_event_wheel_t * const p_event_wheel) PARENT_STRUCT(p_list_item, cl_event_wheel_reg_info_t, list_item); CL_DBG("cl_event_wheel_dump: Found event key:<0x%" - PRIx64 ">, aging time:%" PRIu64 "\n", - p_event->key, p_event->aging_time); + PRIx64 ">, num_regs:%d, aging time:%" PRIu64 "\n", + p_event->key, p_event->num_regs, p_event->aging_time); p_list_item = cl_qlist_next(p_list_item); } }