diff --git a/[refs] b/[refs] index 959883b43979..682f7518301c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f57b05ed532ccf3b3e22878a5678ca10de50ad29 +refs/heads/master: e9b52ef2228cd0bed7a4465c693a39489e2c338d diff --git a/trunk/tools/perf/util/symbol.c b/trunk/tools/perf/util/symbol.c index e142c21ae9a5..469c0264ed29 100644 --- a/trunk/tools/perf/util/symbol.c +++ b/trunk/tools/perf/util/symbol.c @@ -1506,7 +1506,7 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter) if (strncmp(dso->name, "/tmp/perf-", 10) == 0) { struct stat st; - if (stat(dso->name, &st) < 0) + if (lstat(dso->name, &st) < 0) return -1; if (st.st_uid && (st.st_uid != geteuid())) {