Lines Matching refs:target
301 static void prompt_integer(int *target, const char *msg) in prompt_integer() argument
322 *target = tmp; in prompt_integer()
327 static void prompt_percent(int *target, const char *msg) in prompt_percent() argument
333 *target = tmp; in prompt_percent()
587 hists->uid_filter_str = top->record_opts.target.uid_str; in display_thread_tui()
909 perf_evsel__open_strerror(counter, &opts->target, in perf_top__start_counters()
970 machine__synthesize_threads(&top->session->machines.host, &opts->target, in __cmd_top()
994 if (!target__none(&opts->target)) in __cmd_top()
1110 .target = { in cmd_top()
1119 struct target *target = &opts->target; in cmd_top() local
1125 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1127 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1129 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top()
1131 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1205 OPT_STRING('u', "uid", &target->uid_str, "user", "user to profile"), in cmd_top()
1262 status = target__validate(target); in cmd_top()
1264 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1268 status = target__parse_uid(target); in cmd_top()
1272 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1279 if (target__none(target)) in cmd_top()
1280 target->system_wide = true; in cmd_top()
1282 if (perf_evlist__create_maps(top.evlist, target) < 0) in cmd_top()