Skip to content

Commit

Permalink
What ever ...
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGocht committed Jan 26, 2018
1 parent 1b3227c commit f7a1ed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uncore_perf_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ char* env(const char* name)
int name_len = strlen(name);
int scorep_len = strlen("SCOREP_METRIC_");
char* scorep_name = malloc((name_len + scorep_len) * sizeof(char));
sprintf(scorep_name, "%s%s", "SCOREP_METRIC_", name);
char* ret = getenv(scorep_name);
if (ret == NULL)
{
Expand Down

0 comments on commit f7a1ed1

Please sign in to comment.