OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libperf: Make perf_cpu_map__alloc() available as an internal function for tools/perf...
[tomoyo/tomoyo-test1.git]
/
tools
/
lib
/
perf
/
cpumap.c
diff --git
a/tools/lib/perf/cpumap.c
b/tools/lib/perf/cpumap.c
index
6cd0be7
..
0833423
100644
(file)
--- a/
tools/lib/perf/cpumap.c
+++ b/
tools/lib/perf/cpumap.c
@@
-10,7
+10,7
@@
#include <ctype.h>
#include <limits.h>
-st
atic st
ruct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus)
+struct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus)
{
struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(struct perf_cpu) * nr_cpus);