diff --git a/projects/rocprofiler/script/gen_ostream_ops.py b/projects/rocprofiler/script/gen_ostream_ops.py index 3e19869008..df45c03a35 100755 --- a/projects/rocprofiler/script/gen_ostream_ops.py +++ b/projects/rocprofiler/script/gen_ostream_ops.py @@ -257,6 +257,8 @@ def gen_cppheader(infilepath, outfilepath, rank): continue if c in structs_analyzed: continue + if c.startswith("_") or c.startswith("pthread_") or c.startswith("__pthread_"): + continue if ( c == "max_align_t" or c == "__fsid_t" ): # Skipping as it is defined in multiple domains