mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
perf tools: Add missing cpu_map__delete()
Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
0a27d7f9f4
commit
915fce20ec
@ -177,3 +177,8 @@ struct cpu_map *cpu_map__dummy_new(void)
|
||||
|
||||
return cpus;
|
||||
}
|
||||
|
||||
void cpu_map__delete(struct cpu_map *map)
|
||||
{
|
||||
free(map);
|
||||
}
|
||||
|
@ -8,6 +8,6 @@ struct cpu_map {
|
||||
|
||||
struct cpu_map *cpu_map__new(const char *cpu_list);
|
||||
struct cpu_map *cpu_map__dummy_new(void);
|
||||
void *cpu_map__delete(struct cpu_map *map);
|
||||
void cpu_map__delete(struct cpu_map *map);
|
||||
|
||||
#endif /* __PERF_CPUMAP_H */
|
||||
|
Loading…
Reference in New Issue
Block a user