From patchwork Wed Nov 12 23:20:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Shewmaker X-Patchwork-Id: 5292511 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 31224C11AC for ; Wed, 12 Nov 2014 23:20:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6DAF5201C7 for ; Wed, 12 Nov 2014 23:20:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9E0DF201BB for ; Wed, 12 Nov 2014 23:20:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753146AbaKLXUR (ORCPT ); Wed, 12 Nov 2014 18:20:17 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:50117 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752676AbaKLXUR (ORCPT ); Wed, 12 Nov 2014 18:20:17 -0500 Received: by mail-pd0-f178.google.com with SMTP id fp1so13140653pdb.37 for ; Wed, 12 Nov 2014 15:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=Lc8wxE1xXSSir67s5hXXK0MqSpHvITiGoll08Q2YjBg=; b=wLmBFxs1igfJF1Bph8Ca4odOPD+IqudgxZv8/7F7NDW9ylhsSmzrRCGBYdFrH8Zqzk Rb46nRaf6cSQO6HKLS2xJ0Nyg3E2SQKxLhWzljZzk/FL18JWrzm04Y1vN/iReh3GKp9l TUkqk7h8DkjBlQ+pkOpIRciMBSsWKqUMbeckFs7FUw4ex+k+gyEgNa1LFXNAOkx38TqA InCMoVoN6pt0ot7uRDpGRlPBkSCMXlA2aLwJJSOoe4Ro2dkH1mntN9nxEYRDoELpVkdQ QL6NVZRagEmYR+4mkPT9GZ6AYMka+numUcjSUHmNBjuTfs584FMZYcyXVrueUcOE8gG8 8VLQ== X-Received: by 10.68.224.6 with SMTP id qy6mr50979354pbc.35.1415834416613; Wed, 12 Nov 2014 15:20:16 -0800 (PST) Received: from localhost (host-69-145-59-76.bln-mt.client.bresnan.net. [69.145.59.76]) by mx.google.com with ESMTPSA id vt8sm2922733pbc.66.2014.11.12.15.20.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 12 Nov 2014 15:20:15 -0800 (PST) Date: Wed, 12 Nov 2014 16:20:13 -0700 From: Andrew Shewmaker To: ceph-devel@vger.kernel.org Subject: [PATCH 2/6] Initialize blkin tracing in ceph_mon Message-ID: <20141112232013.GC6892@localhost> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Signed-off-by: Andrew Shewmaker --- src/ceph_mon.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc index 4e84b4d..8b1784a 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -418,6 +418,8 @@ int main(int argc, const char **argv) global_init_chdir(g_ceph_context); } + ZTracer::ztrace_init(); + MonitorDBStore *store = new MonitorDBStore(g_conf->mon_data); Monitor::StoreConverter converter(g_conf->mon_data, store);