blob: 0b3e1b2e526347443d9556dc43f2c79201b35c3e [file] [log] [blame]
Arnaldo Carvalho de Melof0ce8882015-09-08 13:30:00 -03001#include "env.h"
2#include "util.h"
3
4void perf_env__exit(struct perf_env *env)
5{
6 zfree(&env->hostname);
7 zfree(&env->os_release);
8 zfree(&env->version);
9 zfree(&env->arch);
10 zfree(&env->cpu_desc);
11 zfree(&env->cpuid);
12 zfree(&env->cmdline);
13 zfree(&env->cmdline_argv);
14 zfree(&env->sibling_cores);
15 zfree(&env->sibling_threads);
16 zfree(&env->numa_nodes);
17 zfree(&env->pmu_mappings);
18 zfree(&env->cpu);
19}