Skip to content

Commit

Permalink
Disabling usage of task argument name for now
Browse files Browse the repository at this point in the history
The only check is whether the argument name is set to not nullptr,
and in cases when it is never set, it can create garbage strings
in the trace. disable for now.
  • Loading branch information
khuck committed Oct 16, 2024
1 parent ad450b8 commit a01e4cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/apex/taskstubs_implementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,11 @@ extern "C" {
default:
break;
}
if (arguments[i].name != nullptr) {
if (false) { // arguments[i].name != nullptr) {
apex_timer->argument_names.push_back(std::string(arguments[i].name));
} else {
std::string tmpname{"arg["};
std::string tmpname{"arg_"};
tmpname = tmpname + std::to_string(i+2); // add two, because GUID and parent GUID are 0,1
tmpname = tmpname + "]";
apex_timer->argument_names.push_back(tmpname);
}
}
Expand Down

0 comments on commit a01e4cd

Please sign in to comment.