Home
last modified time | relevance | path

Searched refs:tdata (Results 1 – 5 of 5) sorted by relevance

/tools/perf/util/
Dtrace-event-info.c595 struct tracing_data *tdata; in tracing_data_get() local
604 tdata = malloc(sizeof(*tdata)); in tracing_data_get()
605 if (!tdata) in tracing_data_get()
608 tdata->temp = temp; in tracing_data_get()
609 tdata->size = 0; in tracing_data_get()
614 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get()
616 if (!mkstemp(tdata->temp_file)) { in tracing_data_get()
618 free(tdata); in tracing_data_get()
622 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get()
624 pr_debug("Can't read '%s'", tdata->temp_file); in tracing_data_get()
[all …]
Dtrace-event.h80 int tracing_data_put(struct tracing_data *tdata);
Dsynthetic-events.c2168 struct tracing_data *tdata; in perf_event__synthesize_tracing_data() local
2183 tdata = tracing_data_get(&evlist->core.entries, fd, true); in perf_event__synthesize_tracing_data()
2184 if (!tdata) in perf_event__synthesize_tracing_data()
2190 size = tdata->size; in perf_event__synthesize_tracing_data()
2202 tracing_data_put(tdata); in perf_event__synthesize_tracing_data()
/tools/testing/selftests/kvm/
Dmemslot_perf_test.c793 const struct test_data *tdata, in test_execute() argument
798 uint64_t mem_size = tdata->mem_size ? : MEM_SIZE; in test_execute()
805 if (!prepare_vm(data, nslots, maxslots, tdata->guest_code, in test_execute()
812 if (tdata->prepare && in test_execute()
813 !tdata->prepare(data, sync, maxslots)) { in test_execute()
828 tdata->loop(data, sync); in test_execute()
/tools/power/pm-graph/
Dsleepgraph.py2158 tdata = {'sus': [], 'res': []}
2164 tdata[dir].append(t)
2170 self.addProcessUsageEvent(ps, tdata[dir])
5508 tdata = {'error': ''}
5512 tdata['error'] = 'cmd returned %d' % res
5529 tdata['turbo'] = turbo
5537 tdata['error'] = str(e)
5558 tdata['wifi'] = sv.pollWifi(wifi)
5559 sv.dlog('wifi check, %s' % tdata['wifi'])
5564 tdata['netfix'] = sv.netfixon()
[all …]