Lines Matching refs:self
47 static struct hists *perf_session__hists_findnew(struct perf_session *self,
51 struct rb_node **p = &self->hists_tree.rb_node;
76 rb_insert_color(&new->rb_node, &self->hists_tree);
80 static int perf_session__add_hist_entry(struct perf_session *self,
92 syms = perf_session__resolve_callchain(self, al->thread,
98 attr = perf_header__find_attr(data->id, &self->header);
100 hists = perf_session__hists_findnew(self, data->id, attr->type, attr->config);
102 hists = perf_session__hists_findnew(self, data->id, 0, 0);
200 static int perf_session__setup_sample_type(struct perf_session *self)
202 if (!(self->sample_type & PERF_SAMPLE_CALLCHAIN)) {
249 static size_t hists__fprintf_nr_sample_events(struct hists *self,
254 unsigned long nr_events = self->stats.nr_events[PERF_RECORD_SAMPLE];