From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6oxNAR8O22S//wAAWB0awg (envelope-from ) for ; Tue, 15 Aug 2023 01:33:19 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=R7dyiiE5; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id EA0941E0C2; Tue, 15 Aug 2023 01:33:18 -0400 (EDT) Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id CB9891E098 for ; Tue, 15 Aug 2023 01:33:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1692077596; bh=cwd6HYf426wXrTTmnlASmhaA5kqV93d+cSdxuWrPi5g=; h=To:Cc:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=R7dyiiE5J3/CKH53mXQ7yDiFCI8bPiji+vv+kYCl+2xiegm8KQG6VCCQkIlJnms9q 8M0vNjvIbM6CWOGJbDZxD3plkvIgi4/ZTtBqhAlt6pGUm1WA0vaNE8jpE2DHAb3mgk RJwuKelqDgg2MrHd/MdurHG1Ybek0AOqTjB9rmooLVydgyvRyCJQ83vFiT/SIplZLy l9YElGISbnKBccq7wgHQKhD5Y6MQdH1DmBrjm8wqWNCq49txlqkvB6fe/+6KBG55Ki F/TFmGdOejgR1E2pzKjR2z2S9f2R2cjyxEUPg2IdFkEuyJouC78gPMT7FrfNiFfbJp rMPRG6GgJizNw== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4RQ0Km1gGZz2MB3; Tue, 15 Aug 2023 01:33:16 -0400 (EDT) Received: from mail.kdab.com (mail.kdab.com [176.9.126.58]) by lists.lttng.org (Postfix) with ESMTPS id 4RQ0Kk0w6Zz2Lwc for ; Tue, 15 Aug 2023 01:33:13 -0400 (EDT) X-Virus-Scanned: amavisd-new at kdab.com To: "lttng-dev@lists.lttng.org" Cc: Bala Gundeboina Date: Tue, 15 Aug 2023 07:24:34 +0200 Message-ID: <2693785.mvXUDI8C0e@agathemoarbauer> Organization: KDAB In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [lttng-dev] Discarded events X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Milian Wolff via lttng-dev Reply-To: Milian Wolff Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On Sonntag, 13. August 2023 16:58:17 CEST Bala Gundeboina via lttng-dev wrote: > Hi, > > I am Using LTTng in my project , I am recording a kernel session for long > duration (eg more than 15minutes) I am enabling all the events for > recording but some events discarding after stopping the session, if i run > more than 5 minutes only some events are discarding. I have tried to change > in the .ltttngrc file also to increase buffer-size. While not directly related to your question, I strongly encourage you to review the list of events and only enable those that are actually required for the specific issue you are investigating. Some kernel events are _extremely_ high frequency but have often no practical use for many (at least in my experience and for my own purposes). Examples for the latter are esp. the kmalloc tracepoints. > lttng destroy > Destroying session `my-kernel-session`... > Session `my-kernel-session` destroyed > Warning: 94424667 events were discarded, please refer to the documentation > on channel configuration > > actually when i am running below command i am getting below warning i am > thinking this is the issue because sometimes this warning is not coming > that i didn't seen discarded events. how to overcome this problem can you > provide some detailed lttng-sessiond --daemonize > Warning: Failed to produce a random seed using getrandom(), falling back to > pseudo-random device seed generation which will block until its pool is > initialized: Failed to get true random data using getre > > Thanks & Regards > Bala Gundeboina > This message contains information that may be privileged or confidential and > is the property of the KPIT Technologies Ltd. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, you > are not authorized to read, print, retain copy, disseminate, distribute, or > use this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > KPIT Technologies Ltd. does not accept any liability for virus infected > mails. -- Milian Wolff | milian.wolff@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev