Restriction: This option will only take effect on UNIX\Linux platforms.
Specifies whether CTF evaluates the $(THREAD) component of a trace event as the current pthread_id (that is, a pointer), or
a real Linux thread ID.
Syntax:
mftrace.pthread_ids=bool
Parameter:
-
bool
-
- True: evaluates $(THREAD) as the pthread_id.
- False: evaluates $(THREAD) as a real Linux thread ID.
Default:
mftrace.pthread_ids=true
Examples:
To evaluate $(THREAD) to the real Linux thread ID:
...
mftrace.pthread_ids=false
...
Comments:
Setting mftrace.pthread_ids=false makes CTF more readable when tracing programs with many threads, but comes with a small performance impact.