lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Shahar Hochma via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev@lists.lttng.org
Subject: [lttng-dev] Limit on the number of arguments in TP_ARGS
Date: Wed, 7 Aug 2024 17:03:12 +0300	[thread overview]
Message-ID: <CADoB5d61PHip7Rp2SyzooXg_EUC6x__OYXrndRmOy8Pb-2OBjw@mail.gmail.com> (raw)


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

Hi,
I've been using LTTNG traces and I was trying to create events with more
than 10 arguments. But, I'm having an issue where this seems to fail in
compilation with a cryptic error when I define more than 10 arguments in
TP_ARGS.

I assume the issue is that there are some macros that are only defined up
to 10 arguments. I didn't see any documentation of this limit or any
mention of this anywhere, and I wanted to know if there is maybe a way to
get around this.

Of course I can combine arguments to struts or define 2 events instead of
one. But I wanted to know if there is a native way to resolve this.

Thanks.

[-- Attachment #1.2: Type: text/html, Size: 773 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:[~2024-08-07 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07 14:03 Shahar Hochma via lttng-dev [this message]
2024-08-07 15:28 ` [lttng-dev] Limit on the number of arguments in TP_ARGS Kienan Stewart 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=CADoB5d61PHip7Rp2SyzooXg_EUC6x__OYXrndRmOy8Pb-2OBjw@mail.gmail.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=shaharhoch@google.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).