Lines Matching refs:target
295 static void prompt_integer(int *target, const char *msg) in prompt_integer() argument
316 *target = tmp; in prompt_integer()
321 static void prompt_percent(int *target, const char *msg) in prompt_percent() argument
327 *target = tmp; in prompt_percent()
579 hists->uid_filter_str = top->record_opts.target.uid_str; in display_thread_tui()
894 perf_evsel__open_strerror(counter, &opts->target, in perf_top__start_counters()
952 machine__synthesize_threads(&top->session->machines.host, &opts->target, in __cmd_top()
969 if (!target__none(&opts->target)) in __cmd_top()
1060 .target = { in cmd_top()
1068 struct target *target = &opts->target; in cmd_top() local
1074 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1076 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1078 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top()
1080 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1154 OPT_STRING('u', "uid", &target->uid_str, "user", "user to profile"), in cmd_top()
1203 status = target__validate(target); in cmd_top()
1205 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1209 status = target__parse_uid(target); in cmd_top()
1213 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1220 if (target__none(target)) in cmd_top()
1221 target->system_wide = true; in cmd_top()
1223 if (perf_evlist__create_maps(top.evlist, target) < 0) in cmd_top()