Lines Matching refs:values
72 struct mangle_values values;
75 values.flags = 0;
78 values.image_name = sf->kernel->name;
79 values.flags |= MANGLE_KERNEL;
81 values.flags |= MANGLE_ANON;
82 values.image_name = mangle_anon(sf->anon);
83 values.anon_name = sf->anon->name;
85 values.image_name = find_cookie(sf->cookie);
88 values.dep_name = get_dep_name(sf);
89 if (!values.dep_name)
90 values.dep_name = values.image_name;
93 if (!values.image_name || !values.dep_name)
97 values.flags |= MANGLE_TGID | MANGLE_TID;
98 values.tid = sf->tid;
99 values.tgid = sf->tgid;
103 values.flags |= MANGLE_CPU;
104 values.cpu = sf->cpu;
108 values.flags |= MANGLE_CALLGRAPH;
110 values.cg_image_name = last->kernel->name;
112 values.flags |= MANGLE_CG_ANON;
113 values.cg_image_name = mangle_anon(last->anon);
114 values.anon_name = last->anon->name;
116 values.cg_image_name = find_cookie(last->cookie);
120 if (!values.cg_image_name) {
121 if (values.flags & MANGLE_ANON)
122 free((char *)values.image_name);
127 values.event_name = event->name;
128 values.count = event->count;
129 values.unit_mask = event->um;
131 mangled = op_mangle_filename(&values);
133 if (values.flags & MANGLE_ANON)
134 free((char *)values.image_name);
135 if (values.flags & MANGLE_CG_ANON)
136 free((char *)values.cg_image_name);