Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tracy client address complile flag #682

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

amschnorr
Copy link

Support passing tracy client address via compile flag. Adds convenience for compiling tracy on multiple targets that have different network requirements. (In this case using QNX so can't use the default 255.255.255.255 as @michaeldleslie helped point out).

Can add documentation in the appropriate spot.

@wolfpld
Copy link
Owner

wolfpld commented Dec 11, 2023

Please add docs and maybe update the QNX error right below?

-erro message
@amschnorr amschnorr marked this pull request as ready for review December 12, 2023 00:22
manual/tracy.tex Outdated
@@ -503,6 +503,8 @@ \subsubsection{Client network interface}

By default, the Tracy client will listen on all network interfaces. If you want to restrict it to only listening on the localhost interface, define the \texttt{TRACY\_ONLY\_LOCALHOST} macro at compile-time, or set the \texttt{TRACY\_ONLY\_LOCALHOST} environment variable to $1$ at runtime.

If you need to use a specific Tracy client address, such as QNX requires, define the \texttt{TRACY\_CLIENT\_ADDRESS} macro at compile-time as the desired string address, or set the \texttt{TRACY\_ONLY\_LOCALHOST} environment variable to the desired string address at runtime.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the env variable part be here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, thanks.

@wolfpld wolfpld merged commit 71628f4 into wolfpld:master Dec 12, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants