Lines Matching refs:data
23 #include "util/data.h"
298 static struct evsel_script *evsel_script__new(struct evsel *evsel, struct perf_data *data)
303 if (asprintf(&es->filename, "%s.%s.dump", data->file.path, evsel__name(evsel)) < 0)
527 * have the expected data
600 pr_err("Can't provide 'tod' time, missing clock data. "
1002 if (al.map->dso->data.status == DSO_DATA_STATUS_ERROR) {
1217 printed += fprintf(fp, "\tmismatch of LBR data and executable\n");
1657 struct perf_synth_intel_ptwrite *data = perf_sample__synth_ptr(sample);
1660 if (perf_sample__bad_synth_size(sample, *data))
1664 data->ip, le64_to_cpu(data->payload));
1670 struct perf_synth_intel_mwait *data = perf_sample__synth_ptr(sample);
1673 if (perf_sample__bad_synth_size(sample, *data))
1677 data->hints, data->extensions);
1683 struct perf_synth_intel_pwre *data = perf_sample__synth_ptr(sample);
1686 if (perf_sample__bad_synth_size(sample, *data))
1690 data->hw, data->cstate, data->subcstate);
1696 struct perf_synth_intel_exstop *data = perf_sample__synth_ptr(sample);
1699 if (perf_sample__bad_synth_size(sample, *data))
1702 len = fprintf(fp, " IP: %u ", data->ip);
1708 struct perf_synth_intel_pwrx *data = perf_sample__synth_ptr(sample);
1711 if (perf_sample__bad_synth_size(sample, *data))
1715 data->deepest_cstate, data->last_cstate,
1716 data->wake_reason);
1722 struct perf_synth_intel_cbr *data = perf_sample__synth_ptr(sample);
1726 if (perf_sample__bad_synth_size(sample, *data))
1729 freq = (le32_to_cpu(data->freq) + 500) / 1000;
1730 len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq);
1731 if (data->max_nonturbo) {
1732 percent = (5 + (1000 * data->cbr) / data->max_nonturbo) / 10;
2170 evsel->priv = evsel_script__new(evsel, scr->session->data);
2444 evsel->priv = evsel_script__new(evsel, script->session->data);
3034 * this function will check if the events in perf.data match those
3107 struct perf_data data = {
3114 session = perf_session__new(&data, false, NULL);
3353 script->cpus = cpu_map__new_data(&event->cpu_map.data);
3475 struct perf_data data = {
3495 OPT_BOOLEAN(0, "header", &header, "Show data header."),
3496 OPT_BOOLEAN(0, "header-only", &header_only, "Show only data header."),
3545 "display extended information from perf.data file"),
3627 data.path = input_name;
3628 data.force = symbol_conf.force;
3804 session = perf_session__new(&data, false, &script.tool);
3821 if (data.is_pipe) { /* Assume pipe_mode indicates native_arch */
3872 input = open(data.path, O_RDONLY); /* input_name */
3934 pr_warning("Decompression initialization failed. Reported data may be incomplete.\n");