From patchwork Tue Mar 3 00:35:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Shewmaker X-Patchwork-Id: 5918461 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4C202BF440 for ; Tue, 3 Mar 2015 00:35:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8AD5220253 for ; Tue, 3 Mar 2015 00:35:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 528652024F for ; Tue, 3 Mar 2015 00:35:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754869AbbCCAfQ (ORCPT ); Mon, 2 Mar 2015 19:35:16 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:34852 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754713AbbCCAfM (ORCPT ); Mon, 2 Mar 2015 19:35:12 -0500 Received: by pabli10 with SMTP id li10so18900590pab.2 for ; Mon, 02 Mar 2015 16:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ki9WOdpLXVW02pY9S2WahyZ6rzRKLWmFr3bScIoB3pY=; b=I1ZjYooy0zoh/gqaY6nGIiSvfWb9aXifxSbnwHNFdvnUjw/3cKKwqrpAKw06XLeLuw Bl+N5bDVs6bMnKJODhx0P99W2GBSv+FtI5gEPtAUxnDSps/l1uf2MqtVizGkqraFasQK 3zgQhG3+0VYMxZ49MkhWCAuB3btRQKbGgD1Y/PrXH79q/A0Y2aKqpmboZ9rQfdjFMV85 3AQskXyKNBBWt4CQh1IwKz/ZwKXYns/8X1AXiG1opXYgM+AjuBnBT4VV4CmZtyccwdgR nZrbQeNa0/xPeQao7vO9krGIGKYslzevo4RUL956Q1pHFkH2NA1gkg0eF6B7JL4Mws3U ehhA== X-Received: by 10.70.0.176 with SMTP id 16mr51894245pdf.78.1425342912253; Mon, 02 Mar 2015 16:35:12 -0800 (PST) Received: from scruffy.soe.ucsc.edu (scruffy.soe.ucsc.edu. [128.114.53.124]) by mx.google.com with ESMTPSA id jd10sm13090591pbd.23.2015.03.02.16.35.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Mar 2015 16:35:11 -0800 (PST) From: Andrew Shewmaker To: ceph-devel@vger.kernel.org Cc: agshew@gmail.com, marioskogias@gmail.com, chendi.xue@intel.com Subject: [PATCH V5 3/6] Initialize ceph_mon trace, blkin (LTTng + Zipkin) tracing Date: Mon, 2 Mar 2015 16:35:12 -0800 Message-Id: <1425342915-12553-4-git-send-email-agshew@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1425342915-12553-1-git-send-email-agshew@gmail.com> References: <1425342915-12553-1-git-send-email-agshew@gmail.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 Signed-off-by: Marios-Evaggelos Kogias Signed-off-by: Filippos Giannakos 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 e0ca6e2..6c3f03f 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -509,6 +509,8 @@ int main(int argc, const char **argv) prefork.exit(1); } + BLKIN_ZTRACE_INIT(); + MonitorDBStore *store = new MonitorDBStore(g_conf->mon_data); err = store->open(std::cerr); if (err < 0) {