public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Junxian Huang <huangjunxian6@hisilicon.com>
Cc: linux-rdma <linux-rdma@vger.kernel.org>,
	Jason Gunthorpe <jgg@ziepe.ca>,
	ynachum@amazon.com, Linuxarm <linuxarm@huawei.com>,
	Chengchang Tang <tangchengchang@huawei.com>,
	wenglianfa <wenglianfa@huawei.com>
Subject: Re: Why is the DENABLE_LTTNG compiler option in rdma-core disabled by default?
Date: Thu, 14 Nov 2024 13:41:41 +0200	[thread overview]
Message-ID: <20241114114141.GE499069@unreal> (raw)
In-Reply-To: <8fe49262-98cf-6b43-4f55-b09a8ae449ca@hisilicon.com>

On Thu, Nov 14, 2024 at 02:57:21PM +0800, Junxian Huang wrote:
> Hi all!
> 
> We've been working on LTTng tracing for hns userspace provider
> recently, and we wonder why the DENABLE_LTTNG compiler option
> in rdma-core is disabled by default.
> 
> If it's due to the concern about performance degradation, we have
> tested it on hns and found no significant performance difference
> when the tracepoints are disabled.
> 
> Or is it because it introduces additional compilation dependency
> on LTTng library?

Yes, this is the reason. Most rdma-core users who use release version
will never need trace library in their life. They don't need an extra
dependency.

Thanks

> 
> Thanks,
> Junxian

      reply	other threads:[~2024-11-14 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14  6:57 Why is the DENABLE_LTTNG compiler option in rdma-core disabled by default? Junxian Huang
2024-11-14 11:41 ` Leon Romanovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241114114141.GE499069@unreal \
    --to=leon@kernel.org \
    --cc=huangjunxian6@hisilicon.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=tangchengchang@huawei.com \
    --cc=wenglianfa@huawei.com \
    --cc=ynachum@amazon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox