]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/util/thread_map.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / tools / perf / util / thread_map.c
index f9eab200fd757ee0f6824cad0b2bbe9316afbec1..7c3fcc538a705f9df580c33b6444512547b3f453 100644 (file)
@@ -93,7 +93,7 @@ struct thread_map *thread_map__new_by_uid(uid_t uid)
 {
        DIR *proc;
        int max_threads = 32, items, i;
-       char path[256];
+       char path[NAME_MAX + 1 + 6];
        struct dirent *dirent, **namelist = NULL;
        struct thread_map *threads = thread_map__alloc(max_threads);