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

Invalid fd_log_tid on fdctl #3644

Open
ripatel-fd opened this issue Dec 6, 2024 · 0 comments
Open

Invalid fd_log_tid on fdctl #3644

ripatel-fd opened this issue Dec 6, 2024 · 0 comments

Comments

@ripatel-fd
Copy link
Contributor

/* fd_log_tid() returns the caller's thread group thread id.  A thread
   group thread id is intended, at a minimum, to be unique over all
   running threads in a thread group.  In simple cases, this is the
   caller's OS tid.  In general cases, this is typically something
   provided to the thread when that thread started.  This is cheap after
   the first call. */

ulong fd_log_tid( void );

fd_log_tid returns the same integer for different threads in a thread group when running on fdctl.

fd1:[group]:bank:0 src/disco/topo/fd_topo_run.c(141)[fd_topo_run_tile]: fd_log: --log-tid           1805503
fd1:[group]:bank:1 src/disco/topo/fd_topo_run.c(141)[fd_topo_run_tile]: fd_log: --log-tid           1805503
fd1:[group]:bank:2 src/disco/topo/fd_topo_run.c(141)[fd_topo_run_tile]: fd_log: --log-tid           1805503
fd1:[group]:bank:3 src/disco/topo/fd_topo_run.c(141)[fd_topo_run_tile]: fd_log: --log-tid           1805503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants