Lines Matching defs:synth_opts
1375 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,
1378 synth_opts->branches = true;
1379 synth_opts->transactions = true;
1380 synth_opts->ptwrites = true;
1381 synth_opts->pwr_events = true;
1382 synth_opts->other_events = true;
1383 synth_opts->intr_events = true;
1384 synth_opts->errors = true;
1385 synth_opts->flc = true;
1386 synth_opts->llc = true;
1387 synth_opts->tlb = true;
1388 synth_opts->mem = true;
1389 synth_opts->remote_access = true;
1392 synth_opts->period_type = PERF_ITRACE_PERIOD_INSTRUCTIONS;
1393 synth_opts->period = 1;
1394 synth_opts->calls = true;
1396 synth_opts->instructions = true;
1397 synth_opts->cycles = true;
1398 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE;
1399 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD;
1401 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ;
1402 synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ;
1403 synth_opts->initial_skip = 0;
1462 int itrace_do_parse_synth_opts(struct itrace_synth_opts *synth_opts,
1470 synth_opts->set = true;
1473 synth_opts->dont_decode = true;
1478 itrace_synth_opts__set_default(synth_opts,
1479 synth_opts->default_no_sample);
1488 synth_opts->cycles = true;
1490 synth_opts->instructions = true;
1494 synth_opts->period = strtoull(p, &endptr, 10);
1501 synth_opts->period_type =
1506 synth_opts->period_type =
1511 synth_opts->period *= 1000;
1514 synth_opts->period *= 1000;
1519 synth_opts->period_type =
1531 synth_opts->branches = true;
1534 synth_opts->transactions = true;
1537 synth_opts->ptwrites = true;
1540 synth_opts->pwr_events = true;
1543 synth_opts->other_events = true;
1546 synth_opts->intr_events = true;
1549 synth_opts->errors = true;
1550 if (get_flags(&p, &synth_opts->error_plus_flags,
1551 &synth_opts->error_minus_flags))
1555 synth_opts->log = true;
1556 if (get_flags(&p, &synth_opts->log_plus_flags,
1557 &synth_opts->log_minus_flags))
1559 if (synth_opts->log_plus_flags & AUXTRACE_LOG_FLG_ON_ERROR)
1560 synth_opts->log_on_error_size = itrace_log_on_error_size();
1563 synth_opts->branches = true;
1564 synth_opts->calls = true;
1567 synth_opts->branches = true;
1568 synth_opts->returns = true;
1573 synth_opts->add_callchain = true;
1575 synth_opts->callchain = true;
1576 synth_opts->callchain_sz =
1587 synth_opts->callchain_sz = val;
1593 synth_opts->add_last_branch = true;
1595 synth_opts->last_branch = true;
1596 synth_opts->last_branch_sz =
1608 synth_opts->last_branch_sz = val;
1612 synth_opts->initial_skip = strtoul(p, &endptr, 10);
1618 synth_opts->flc = true;
1621 synth_opts->llc = true;
1624 synth_opts->tlb = true;
1627 synth_opts->remote_access = true;
1630 synth_opts->mem = true;
1633 synth_opts->quick += 1;
1636 synth_opts->approx_ipc = true;
1639 synth_opts->timeless_decoding = true;
1649 if (synth_opts->instructions || synth_opts->cycles) {
1651 synth_opts->period_type =
1654 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD;