profile_hash
ftrace->profile_hash = hashmap__new(profile_hash, profile_equal, NULL);
if (IS_ERR(ftrace->profile_hash)) {
int err = PTR_ERR(ftrace->profile_hash);
ftrace->profile_hash = NULL;
if (!hashmap__find(ftrace->profile_hash, func, &prof)) {
hashmap__add(ftrace->profile_hash, key, prof);
nr = hashmap__size(ftrace->profile_hash);
hashmap__for_each_entry(ftrace->profile_hash, entry, bkt)
hashmap__for_each_entry(ftrace->profile_hash, entry, bkt) {
hashmap__free(ftrace->profile_hash);
ftrace->profile_hash = NULL;
struct hashmap *profile_hash;