Lines Matching refs:synth_opts

1324 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,  in itrace_synth_opts__set_default()  argument
1327 synth_opts->branches = true; in itrace_synth_opts__set_default()
1328 synth_opts->transactions = true; in itrace_synth_opts__set_default()
1329 synth_opts->ptwrites = true; in itrace_synth_opts__set_default()
1330 synth_opts->pwr_events = true; in itrace_synth_opts__set_default()
1331 synth_opts->other_events = true; in itrace_synth_opts__set_default()
1332 synth_opts->errors = true; in itrace_synth_opts__set_default()
1333 synth_opts->flc = true; in itrace_synth_opts__set_default()
1334 synth_opts->llc = true; in itrace_synth_opts__set_default()
1335 synth_opts->tlb = true; in itrace_synth_opts__set_default()
1336 synth_opts->remote_access = true; in itrace_synth_opts__set_default()
1339 synth_opts->period_type = PERF_ITRACE_PERIOD_INSTRUCTIONS; in itrace_synth_opts__set_default()
1340 synth_opts->period = 1; in itrace_synth_opts__set_default()
1341 synth_opts->calls = true; in itrace_synth_opts__set_default()
1343 synth_opts->instructions = true; in itrace_synth_opts__set_default()
1344 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; in itrace_synth_opts__set_default()
1345 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_synth_opts__set_default()
1347 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; in itrace_synth_opts__set_default()
1348 synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ; in itrace_synth_opts__set_default()
1349 synth_opts->initial_skip = 0; in itrace_synth_opts__set_default()
1401 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts() local
1407 synth_opts->set = true; in itrace_parse_synth_opts()
1410 synth_opts->dont_decode = true; in itrace_parse_synth_opts()
1415 itrace_synth_opts__set_default(synth_opts, in itrace_parse_synth_opts()
1416 synth_opts->default_no_sample); in itrace_parse_synth_opts()
1423 synth_opts->instructions = true; in itrace_parse_synth_opts()
1427 synth_opts->period = strtoull(p, &endptr, 10); in itrace_parse_synth_opts()
1434 synth_opts->period_type = in itrace_parse_synth_opts()
1439 synth_opts->period_type = in itrace_parse_synth_opts()
1444 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1447 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1452 synth_opts->period_type = in itrace_parse_synth_opts()
1464 synth_opts->branches = true; in itrace_parse_synth_opts()
1467 synth_opts->transactions = true; in itrace_parse_synth_opts()
1470 synth_opts->ptwrites = true; in itrace_parse_synth_opts()
1473 synth_opts->pwr_events = true; in itrace_parse_synth_opts()
1476 synth_opts->other_events = true; in itrace_parse_synth_opts()
1479 synth_opts->errors = true; in itrace_parse_synth_opts()
1480 if (get_flags(&p, &synth_opts->error_plus_flags, in itrace_parse_synth_opts()
1481 &synth_opts->error_minus_flags)) in itrace_parse_synth_opts()
1485 synth_opts->log = true; in itrace_parse_synth_opts()
1486 if (get_flags(&p, &synth_opts->log_plus_flags, in itrace_parse_synth_opts()
1487 &synth_opts->log_minus_flags)) in itrace_parse_synth_opts()
1491 synth_opts->branches = true; in itrace_parse_synth_opts()
1492 synth_opts->calls = true; in itrace_parse_synth_opts()
1495 synth_opts->branches = true; in itrace_parse_synth_opts()
1496 synth_opts->returns = true; in itrace_parse_synth_opts()
1501 synth_opts->add_callchain = true; in itrace_parse_synth_opts()
1503 synth_opts->callchain = true; in itrace_parse_synth_opts()
1504 synth_opts->callchain_sz = in itrace_parse_synth_opts()
1515 synth_opts->callchain_sz = val; in itrace_parse_synth_opts()
1521 synth_opts->add_last_branch = true; in itrace_parse_synth_opts()
1523 synth_opts->last_branch = true; in itrace_parse_synth_opts()
1524 synth_opts->last_branch_sz = in itrace_parse_synth_opts()
1536 synth_opts->last_branch_sz = val; in itrace_parse_synth_opts()
1540 synth_opts->initial_skip = strtoul(p, &endptr, 10); in itrace_parse_synth_opts()
1546 synth_opts->flc = true; in itrace_parse_synth_opts()
1549 synth_opts->llc = true; in itrace_parse_synth_opts()
1552 synth_opts->tlb = true; in itrace_parse_synth_opts()
1555 synth_opts->remote_access = true; in itrace_parse_synth_opts()
1558 synth_opts->quick += 1; in itrace_parse_synth_opts()
1568 if (synth_opts->instructions) { in itrace_parse_synth_opts()
1570 synth_opts->period_type = in itrace_parse_synth_opts()
1573 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_parse_synth_opts()