diff options
Diffstat (limited to 'tools/perf')
| -rw-r--r-- | tools/perf/builtin-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index f954c26de231..5ab2f674fed2 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
| @@ -1276,11 +1276,11 @@ static const char *thread__fd_path(struct thread *thread, int fd, | |||
| 1276 | if (fd < 0) | 1276 | if (fd < 0) |
| 1277 | return NULL; | 1277 | return NULL; |
| 1278 | 1278 | ||
| 1279 | if ((fd > ttrace->paths.max || ttrace->paths.table[fd] == NULL)) | 1279 | if ((fd > ttrace->paths.max || ttrace->paths.table[fd] == NULL)) { |
| 1280 | if (!trace->live) | 1280 | if (!trace->live) |
| 1281 | return NULL; | 1281 | return NULL; |
| 1282 | ++trace->stats.proc_getname; | 1282 | ++trace->stats.proc_getname; |
| 1283 | if (thread__read_fd_path(thread, fd)) { | 1283 | if (thread__read_fd_path(thread, fd)) |
| 1284 | return NULL; | 1284 | return NULL; |
| 1285 | } | 1285 | } |
| 1286 | 1286 | ||
