From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] apitrace: add replay support
Date: Thu, 15 Jan 2026 16:12:01 +0100 [thread overview]
Message-ID: <20260115151201.230737-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20251214131043.75281-2-l.stach@pengutronix.de>
Thanks, applied as ba6aacbdaea6a65399fc938fc1908f94e6e1411f.
Michael
[sent from post-receive hook]
On Thu, 15 Jan 2026 16:12:00 +0100, Lucas Stach <l.stach@pengutronix.de> wrote:
> Add option to build eglretrace to replay captured traces
> on the target device.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> Message-Id: <20251214131043.75281-2-l.stach@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/apitrace.in b/rules/apitrace.in
> index 9aefad123e46..450b5bdac1db 100644
> --- a/rules/apitrace.in
> +++ b/rules/apitrace.in
> @@ -8,6 +8,18 @@ config APITRACE
> select ZLIB
> select LIBPNG
> select BROTLI
> + select WAFFLE if APITRACE_REPLAY
> prompt "apitrace"
> help
> Tools for tracing OpenGL, Direct3D, and other graphics APIs.
> +
> +if APITRACE
> +
> +config APITRACE_REPLAY
> + tristate
> + prompt "apitrace replay"
> + help
> + Build apitrace tools to replay a captured trace on the target
> + system.
> +
> +endif
> diff --git a/rules/apitrace.make b/rules/apitrace.make
> index 494050f258cb..fdd721fe39f8 100644
> --- a/rules/apitrace.make
> +++ b/rules/apitrace.make
> @@ -69,7 +69,7 @@ APITRACE_CONF_OPT := \
> -DENABLE_STATIC_LIBSTDCXX=OFF \
> -DENABLE_STATIC_SNAPPY=SNAPPY \
> -DENABLE_TESTS=OFF \
> - -DENABLE_WAFFLE=OFF \
> + -DENABLE_WAFFLE=$(call ptx/onoff, PTXCONF_APITRACE_REPLAY) \
> -DENABLE_X11=OFF
>
> # ----------------------------------------------------------------------------
> @@ -87,6 +87,10 @@ $(STATEDIR)/apitrace.targetinstall:
>
> @$(call install_copy, apitrace, 0, 0, 0755, -, /usr/bin/apitrace)
>
> +ifdef PTXCONF_APITRACE_REPLAY
> + @$(call install_copy, apitrace, 0, 0, 0755, -, /usr/bin/eglretrace)
> +endif
> +
> @$(call install_lib, apitrace, 0, 0, 0644, apitrace/wrappers/egltrace)
>
> @$(call install_finish, apitrace)
next prev parent reply other threads:[~2026-01-15 15:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-14 13:10 [ptxdist] [PATCH 1/2] apitrace: version bump 11.1 -> 13.0 Lucas Stach
2025-12-14 13:10 ` [ptxdist] [PATCH 2/2] apitrace: add replay support Lucas Stach
2026-01-15 15:12 ` Michael Olbrich [this message]
2026-01-15 15:12 ` [ptxdist] [APPLIED] apitrace: version bump 11.1 -> 13.0 Michael Olbrich
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=20260115151201.230737-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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