From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +s8aLAA4ZGRLTQwAWB0awg (envelope-from ) for ; Tue, 16 May 2023 22:12:16 -0400 Received: by simark.ca (Postfix, from userid 112) id A1DB91E11E; Tue, 16 May 2023 22:12:16 -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=Eu7+JsMc; 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 D46DB1E111 for ; Tue, 16 May 2023 22:12:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1684289535; bh=2xwuFZmdDxLyLjd40vuah8HbxBWI9gKLeLbEqOG502E=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Eu7+JsMc7KKZPhhOdyS8UcoH2F+C0y1a0ijapnPgRdz4ekT39+NiTiMNY+vo12fuW ZlFkxEEEZHy74T/J6Ee+EzuthA1dqjxvfOAKLuYn5CekAoVRO9KEWRgniCEze6Uzmi yXPi3xeYDtK8BEAXfPUurMjOzNhgE2Y3ad6th3gFAueSGIMZVqxsGqTwiIj6SUaXlP py0Esy+AuEpnWogiBJXKXEJ4cMy9rzz+znE3lO/OEtyd8Jt6y/q/+Uhcankliui7JC uTvROD2UykGazBPc72mUdRRPgOHKOm7Ajgc5Zaj4LIA5z6Zjju4nrGYYPugm4p+Wmo MyYydTXYjkVcw== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4QLc7M29VMz1FBD; Tue, 16 May 2023 22:12:15 -0400 (EDT) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) by lists.lttng.org (Postfix) with ESMTPS id 4QLc7L4XN6z1F3S for ; Tue, 16 May 2023 22:12:14 -0400 (EDT) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-50bc570b4a3so369946a12.1 for ; Tue, 16 May 2023 19:12:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684289473; x=1686881473; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=O5izfVDlJA7Yh28NZb9b0Wcjh+z9AM/iWF7phWLTbfA=; b=RS5khkcjpnJgW1LvT1RXaM5X2eLUF0opG1xKyYGUzt3ZKDni0m3IKL1m161N5kUdkp fHTm4EPtKRwRi0Gg9P0JnSsfZE+UtWtXylEaeLpR6R6Pb40W0ehv9sdyj5xiK//nfe9N o8VbZLR8ZQBPFnIm6x0/Wl57Rv/iPiawNEucXgcB3Cc1MOfSXVSSh4FrPERmQTZepMfK CnmD0M+hRH2sPvcne2DkgvLfW0TlOrWZfglmbj0qIstYI8K9UWfQokTqYsVVTUrXbHcv GKeraKJIqAF08vemIIy2eoD5z6nk4OWbQBbug/0YjMsc4yNL05gCf+4EmOUZfg3BlmDw 5qXg== X-Gm-Message-State: AC+VfDz6N3UItQ/R4e+ddDoo3epg4okPPNdmFDx4ykCd3gDxdKrrZ5ba /rlq+sbjJWmKe7szTecV8QJtFWZxkx1UNzo9FwKiFdfNUTo= X-Google-Smtp-Source: ACHHUZ4v869b56QRVF3tKV7slpaOlN2dLi2ztultGENNXXr7pqlkLBg8bc5KQVsHfwnsfWXavWNhqu1ErkzizIdZ/VI= X-Received: by 2002:a17:907:6095:b0:96a:fd8a:f840 with SMTP id ht21-20020a170907609500b0096afd8af840mr10772884ejc.49.1684289473018; Tue, 16 May 2023 19:11:13 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 16 May 2023 22:11:01 -0400 Message-ID: To: lttng-dev@lists.lttng.org Subject: [lttng-dev] Trying to understand use of lttng enable-event --kernel --userspace-probe= 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'm trying to figure out how to use uprobes with lttng. I can't use a normal uprobe for a line number just using the address I want to probe obtained from objdump? As in: echo 'p /usr/local/bin/my_app:0x2c3a8' >> /sys/kernel/debug/tracing/uprobe_events ... which isn't a function entry, it's just a line of code I want to probe on. This link says it has to be elf or sdt: https://lttng.org/man/1/lttng-enable-event/v2.11/#doc-opt--userspace-probe So can I not probe on just a line of code by specifying an address??? It doesn't look like these methods above will do what I'm wanting to do. I've tried to find examples of using enable-event --kernel --userspace-probe= but there doesn't appear to be many. Thanks, Brian _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev