Lines Matching refs:pdiff
397 struct perf_diff *pdiff = container_of(tool, struct perf_diff, tool); in diff__process_sample_event() local
407 if (perf_time__ranges_skip_sample(pdiff->ptime_range, pdiff->range_num, in diff__process_sample_event()
470 static struct perf_diff pdiff; variable
1067 if (pdiff.time_str && strchr(pdiff.time_str, ':')) { in abstime_str_dup()
1068 str = strdup(pdiff.time_str); in abstime_str_dup()
1102 &pdiff.ptime_range, in parse_absolute_time()
1103 &pdiff.range_size, in parse_absolute_time()
1104 &pdiff.range_num); in parse_absolute_time()
1120 ret = perf_time__parse_for_ranges(pdiff.time_str, d->session, in parse_percent_time()
1121 &pdiff.ptime_range, in parse_percent_time()
1122 &pdiff.range_size, in parse_percent_time()
1123 &pdiff.range_num); in parse_percent_time()
1134 else if (pdiff.time_str) in parse_time_str()
1147 d->session = perf_session__new(&d->data, &pdiff.tool); in check_file_brstack()
1161 pdiff.has_br_stack = true; in check_file_brstack()
1179 d->session = perf_session__new(&d->data, &pdiff.tool); in __cmd_diff()
1186 if (pdiff.time_str) { in __cmd_diff()
1207 if (pdiff.ptime_range) in __cmd_diff()
1208 zfree(&pdiff.ptime_range); in __cmd_diff()
1234 if (pdiff.ptime_range) in __cmd_diff()
1235 zfree(&pdiff.ptime_range); in __cmd_diff()
1290 OPT_STRING(0, "time", &pdiff.time_str, "str",
1297 OPT_BOOLEAN(0, "stream", &pdiff.stream,
1948 perf_tool__init(&pdiff.tool, /*ordered_events=*/true); in cmd_diff()
1949 pdiff.tool.sample = diff__process_sample_event; in cmd_diff()
1950 pdiff.tool.mmap = perf_event__process_mmap; in cmd_diff()
1951 pdiff.tool.mmap2 = perf_event__process_mmap2; in cmd_diff()
1952 pdiff.tool.comm = perf_event__process_comm; in cmd_diff()
1953 pdiff.tool.exit = perf_event__process_exit; in cmd_diff()
1954 pdiff.tool.fork = perf_event__process_fork; in cmd_diff()
1955 pdiff.tool.lost = perf_event__process_lost; in cmd_diff()
1956 pdiff.tool.namespaces = perf_event__process_namespaces; in cmd_diff()
1957 pdiff.tool.cgroup = perf_event__process_cgroup; in cmd_diff()
1958 pdiff.tool.ordering_requires_timestamps = true; in cmd_diff()
1970 if (pdiff.stream) in cmd_diff()
1985 && !pdiff.has_br_stack) { in cmd_diff()