From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Tp14DqkPXWTeGgcAWB0awg (envelope-from ) for ; Thu, 11 May 2023 11:54:17 -0400 Received: by simark.ca (Postfix, from userid 112) id 2BAFB1E11D; Thu, 11 May 2023 11:54:17 -0400 (EDT) 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=ouis3sH7; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 740D21E0D4 for ; Thu, 11 May 2023 11:54:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1683820456; bh=8DBtQVjPgWXiHYO0fCyPYIi0zF9uREzahytIstqTQCI=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ouis3sH7tIbJ0SwxZX0RdL9quGPhg24H+9Xhbw+RjdbqXsPQEJ1ASShxaHfjgGcmy iQfqfJVE9rHHJcXOnNvyg5Cesy+gknNcs83ZouQPgjlcgAGAdvjoO7fCW8TDHEA1XF IOtKkOKHlitnrchPOUpiytiHys7rPNuhnZJ6YdFTMJCksf1xqfjFyre2PhfbDde1GT RNJEiYGmZgyHDv2OfXSa+vZmXM1nWRVP8pyeD2xb4Tzza+t7xzfYZFWSkD/GIt8Pqu /rd66oK6KeUA/ZP2rFiVZFgpC61hDhtG2zHzC/K868oQYw+DWRXyzusu5vmQEQoTHS TYlSJGLoEbUOA== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4QHGfb6d3nzS7g; Thu, 11 May 2023 11:54:15 -0400 (EDT) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by lists.lttng.org (Postfix) with ESMTPS id 4QHGfZ326lzS7f for ; Thu, 11 May 2023 11:54:14 -0400 (EDT) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-9659f452148so1569095966b.1 for ; Thu, 11 May 2023 08:54:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683820393; x=1686412393; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RSJAcBDvd9Ni3Cj+2Unx+fZTmm3S4bowtyx7WpssPyY=; b=DjUClmo3ALJtJh+seB4dFByUnojfeqOY04lnapYXl+wSrafraHju+Cvk28mag83u5U ij6vSL8+f//sC/eAuPfKwC6J3ngJcxYN7WtBBI13E+mDKF8coDJ/tRbW7LdeIc8CFpX2 CxR5GruUNdrFTUaQdk43wh7FyJoL3SWU2vEv3hFts9ZGUWIhxDe7cdVIn8vh6sn9JQkf AtB9Onsz6PppSGW7D8nZQ1qZlwtBOTwxvgzKyP4yuvNGF5HZElXVrmTUsG0gje1UJR0W BXaxdZ/2FBbhLXxRhdCeoBkqHpU6UhcYv/M+7gcC2lISbPonKVSyc+T8+hUA5PjTi9Al 6VwA== X-Gm-Message-State: AC+VfDxCg7s92J4dLjFOt5IB33Ri7udyyyMZ2utrumNF65XTl0OwPQDy ZXIZK96ogmBb2ox0pwAmMhr17Bb/Nd1kFfraGuimHDSXEaA= X-Google-Smtp-Source: ACHHUZ7/5xUy2ZQAqiRVIdCgJS0FeFvgXCPY5oYyKranwnpqy/daWCCLdTQ3JrgtIPtirgY9Z/A1CAhXOs104nbmgIs= X-Received: by 2002:a17:906:4fd6:b0:94e:116:8581 with SMTP id i22-20020a1709064fd600b0094e01168581mr21200538ejw.5.1683820392661; Thu, 11 May 2023 08:53:12 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 11 May 2023 11:53:01 -0400 Message-ID: To: lttng-dev@lists.lttng.org Subject: [lttng-dev] I'm still getting empty ust traces using tracef 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: Brian Hutchinson via lttng-dev Reply-To: Brian Hutchinson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Hi, I posted a while ago (thread - Using lttng 2.11 and UST doesn't appear to work - getting empty trace files) about this problem I'm having with getting empty trace logs. I've since upgraded to lttng v2.13 and while I can do a simple hello world program with tracef and get events in the log files, my more complicated large multi-threaded app I'm trying to debug is still getting empty log file traces. I can list the user space events in my app. Next I do: lttng enable-event --userspace 'lttng_ust_tracef:*' ... to enable the events, start lttng, start my app, .... and I get a trace directory structure that's empty. I feel like I've read every thread in the archives about people having the same problem. I did try using LD_PRELOAD with various libs thinking that was the problem but so far I'm still getting empty traces. So far I've tried: LD_PRELOAD=liblttng-ust-libc-wrapper.so.1:liblttng-ust-pthread-wrapper.so.1:liblttng-ust-dl.so.1:liblttng-ust-fork.so.1:liblttng-ust-fd.so.1 /usr/local/bin/my_app I guess one question I have is how do I determine which "helper libs" I need to preload? The application I'm working on is made up of a bunch of smaller static libs linked together into one big executable and that is linked with -llttng-ust and -ldl. I'm pretty stuck at the moment. Anyone have any wisdom on what I might be doing wrong or how I can tell why I'm not getting events in the logs? Thanks, Brian _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev