Lines Matching refs:target
354 static void prompt_integer(int *target, const char *msg)
375 *target = tmp;
380 static void prompt_percent(int *target, const char *msg)
386 *target = tmp;
641 hists->uid_filter_str = top->record_opts.target.uid_str;
1055 evsel__open_strerror(counter, &opts->target, errno, msg, sizeof(msg));
1279 machine__synthesize_threads(&top->session->machines.host, &opts->target,
1312 if (!target__none(&opts->target))
1430 .target = {
1449 struct target *target = &opts->target;
1455 OPT_STRING('p', "pid", &target->pid, "pid",
1457 OPT_STRING('t', "tid", &target->tid, "tid",
1459 OPT_BOOLEAN('a', "all-cpus", &target->system_wide,
1461 OPT_STRING('C', "cpu", &target->cpu_list, "cpu",
1544 OPT_STRING('u', "uid", &target->uid_str, "user", "user to profile"),
1680 status = target__validate(target);
1682 target__strerror(target, status, errbuf, BUFSIZ);
1686 status = target__parse_uid(target);
1690 target__strerror(target, status, errbuf, BUFSIZ);
1697 if (target__none(target))
1698 target->system_wide = true;
1700 if (perf_evlist__create_maps(top.evlist, target) < 0) {
1766 if (perf_evlist__start_sb_thread(top.sb_evlist, target)) {