From 03b8988d9b338902f3c726d0ddf0b65d55d48247 Mon Sep 17 00:00:00 2001 From: "Bhardwaj, Gopesh" Date: Fri, 27 Jun 2025 20:46:14 +0530 Subject: [PATCH] SWDEV-539836 Do not parse private/internal members (#71) [ROCm/rocprofiler commit: 93e0c4a17c062119f14ef54745956446098d894f] --- projects/rocprofiler/script/gen_ostream_ops.py | 2 ++ 1 file changed, 2 insertions(+) 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