Searched refs:tdata (Results 1 – 3 of 3) sorted by relevance
487 struct tracing_data *tdata; in tracing_data_get() local496 tdata = malloc(sizeof(*tdata)); in tracing_data_get()497 if (!tdata) in tracing_data_get()500 tdata->temp = temp; in tracing_data_get()501 tdata->size = 0; in tracing_data_get()506 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get()508 if (!mkstemp(tdata->temp_file)) { in tracing_data_get()510 free(tdata); in tracing_data_get()514 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get()516 pr_debug("Can't read '%s'", tdata->temp_file); in tracing_data_get()[all …]
62 int tracing_data_put(struct tracing_data *tdata);
2768 struct tracing_data *tdata; in perf_event__synthesize_tracing_data() local2783 tdata = tracing_data_get(&evlist->entries, fd, true); in perf_event__synthesize_tracing_data()2784 if (!tdata) in perf_event__synthesize_tracing_data()2790 size = tdata->size; in perf_event__synthesize_tracing_data()2802 tracing_data_put(tdata); in perf_event__synthesize_tracing_data()