From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id l6JtCEsJ6GAsEwAAWB0awg (envelope-from ) for ; Fri, 09 Jul 2021 04:31:07 -0400 Received: by simark.ca (Postfix, from userid 112) id 117291F1F2; Fri, 9 Jul 2021 04:31:07 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 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 77E6E1E939 for ; Fri, 9 Jul 2021 04:31:03 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4GLmZt6nqtzysb; Fri, 9 Jul 2021 04:31:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1625819463; bh=AkYy7kja7+68KVW2yDydawJMkQnhGrJxXfJJL89jlHM=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=BhyqnWxoMIYHS+tX/mQwYVjw2Qb2vzX/n6EzblprqXNJ5mBWg4GNbdwLMx9zDFvgV g4B12kExS1uu8k4ZVdf8RtZyzpbTT9ADnoSpZyujOAlb9mD7u8k/A5kYCAFQkaQ1Gt we6citx41am3IIPhXIQC+wlkP/gyUznGZ9U5L8qPGo9ABpYnuOk0HTJ5YgN9oOEAKd QQQsoiFSyU8JLUf1ENz7CLq89FPw1fd77NY1zqMP3rQYveiMYmLaSXTCyA++1tXKJp LzLn4X70dWJL5Hn7Pc+Y9LFScBXEQuR+OWphw6QVEGsQZw/zMlgXKnxeUvSfG0juIV iR7G39KSKT6sQ== Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lists.lttng.org (Postfix) with ESMTPS id 4GLmZt11VXzysZ for ; Fri, 9 Jul 2021 04:31:01 -0400 (EDT) Received: by mail-oi1-x230.google.com with SMTP id a189so1100469oii.2 for ; Fri, 09 Jul 2021 01:31:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dz61t+UpZ4zgRWpkSyiq+t+0lp5an8nv1rzM5nTs97E=; b=NFcqviiKsmbZEwe853oP9WrRlUW8LUhLhRYS1EwQC5PlAQzXYxIKXPjZB3AcvhVnKV ee95HhzLqbw0O9ND78zPRafBsihTGBzEALveU9wvyRr/rx6gyPwCyLQ3LBydmrkehHwQ A2z4+TJ85DQQoYXyR0f7v/2fPov7ygUjoHQ688nPFZYl4st9DV+tfX8jwBVQgknnKFih 2wEEo7X4zD1x1Y8zi9/1NcSe6EGimXGMv3F6mWDeYAOxf+LVLuJ6zNITVsfEa7WPkrbN mQQz6cMVi7r/+/mPRY0Eo1JoMvt0noK2yko8en5LXvSOj5eFfYMeCY6l4KKtDSNblAcu fQhg== X-Gm-Message-State: AOAM5335p5SE6+3l8n/WPMnydYiQs9nJe44kahoFvvCOHC1h8hNJzZd4 nMFgKTDRzRSRE7apW+VpAA9EuQjhhqBMhgb5Bz/LZD2Y3I4= X-Google-Smtp-Source: ABdhPJyBikqXWfxKFgZB7dgNhtzCblzZSWOk8upGaTyGRqLihxbMHaOalHpuxrCARX6vcMPXWXOP2O5mQwHY15/ixL0= X-Received: by 2002:aca:4d10:: with SMTP id a16mr112410oib.41.1625819459033; Fri, 09 Jul 2021 01:30:59 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 9 Jul 2021 04:30:48 -0400 Message-ID: To: lttng-dev@lists.lttng.org Subject: [lttng-dev] unable to add callstack-user context X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Evan Galea via lttng-dev Reply-To: Evan Galea Content-Type: multipart/mixed; boundary="===============8993784453582673371==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============8993784453582673371== Content-Type: multipart/alternative; boundary="000000000000531c2905c6ac9703" --000000000000531c2905c6ac9703 Content-Type: text/plain; charset="UTF-8" Hi there, I'm a little new to lttng and tracing in general. I am using a Java Userspace agent, which is working well, but I am having trouble adding callstack context to my tracing channels. I'm not sure if it's relevant but running 'lttng add-context --list" shows callstack-user in the list. the commands I input are: lttng create lttng enable-channel --userspace mychannel lttng enable-event --userspace --all --channel mychannel lttng add-context --userspace --channel mychannel --type callstack-user >Error: callstack-user: UST invalid context When I run the following command instead: lttng add-context --userspace --channel mychannel --type vpid I am able to get it to work and I see vpid appear in my traces. Are there any other things I need to set up first to be able to use it? also, are there any commands that can list the per-domain contexts available? --000000000000531c2905c6ac9703 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi there, I'm a little new to lt= tng and tracing in general. I am using a Java Userspace agent, which is wor= king well, but I am having trouble adding callstack context to my tracing c= hannels. I'm not sure if it's relevant but running 'lttng add-c= ontext --list" shows callstack-user in the list.

<= div>the commands I input are:

lttng create
lttng enable-channel --userspace mychannel
lttng enab= le-event --userspace --all --channel mychannel
lttng add-cont= ext --userspace --channel mychannel --type callstack-user
>Err= or: callstack-user: UST invalid context

When I run= the following command instead:
lttng add-context --userspace= --channel mychannel --type vpid

I am able to get = it to work and I see vpid appear in my traces. Are there any other things I= need to set up first to be able to use it?

also, = are there any commands that can list the per-domain contexts available? =
--000000000000531c2905c6ac9703-- --===============8993784453582673371== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============8993784453582673371==--