lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Evan Galea via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev@lists.lttng.org
Subject: [lttng-dev] unable to add callstack-user context
Date: Fri, 9 Jul 2021 04:30:48 -0400	[thread overview]
Message-ID: <CAA+-46q3vLWvu6WNueSybHZ-7hE=S=eZo1WWXDDq7YOa7hyjWg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 872 bytes --]

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?

[-- Attachment #1.2: Type: text/html, Size: 1149 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2021-07-09  8:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09  8:30 Evan Galea via lttng-dev [this message]
2021-07-09 13:54 ` [lttng-dev] unable to add callstack-user context Mathieu Desnoyers via lttng-dev

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='CAA+-46q3vLWvu6WNueSybHZ-7hE=S=eZo1WWXDDq7YOa7hyjWg@mail.gmail.com' \
    --to=lttng-dev@lists.lttng.org \
    --cc=evanjamesgalea@gmail.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;
as well as URLs for NNTP newsgroup(s).