Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 36) sorted by relevance

12

/tools/perf/ui/gtk/
Dutil.c33 char *msg; in perf_gtk__error() local
37 vasprintf(&msg, format, args) < 0) { in perf_gtk__error()
48 "<b>Error</b>\n\n%s", msg); in perf_gtk__error()
52 free(msg); in perf_gtk__error()
59 char *msg; in perf_gtk__warning_info_bar() local
62 vasprintf(&msg, format, args) < 0) { in perf_gtk__warning_info_bar()
69 gtk_label_set_text(GTK_LABEL(pgctx->message_label), msg); in perf_gtk__warning_info_bar()
74 free(msg); in perf_gtk__warning_info_bar()
80 char *msg, *p; in perf_gtk__warning_statusbar() local
83 vasprintf(&msg, format, args) < 0) { in perf_gtk__warning_statusbar()
[all …]
Dhelpline.c18 static void gtk_helpline_push(const char *msg) in gtk_helpline_push() argument
24 pgctx->statbar_ctx_id, msg); in gtk_helpline_push()
/tools/perf/ui/
Dhelpline.c15 static void nop_helpline__push(const char *msg __maybe_unused) in nop_helpline__push()
38 void ui_helpline__push(const char *msg) in ui_helpline__push() argument
40 helpline_fns->push(msg); in ui_helpline__push()
64 void ui_helpline__puts(const char *msg) in ui_helpline__puts() argument
67 ui_helpline__push(msg); in ui_helpline__puts()
Dlibslang.h15 #define slsmg_printf(msg, args...) \ argument
16 SLsmg_printf((char *)(msg), ##args)
17 #define slsmg_write_nstring(msg, len) \ argument
18 SLsmg_write_nstring((char *)(msg), len)
Dhelpline.h11 void (*push)(const char *msg);
20 void ui_helpline__push(const char *msg);
23 void ui_helpline__puts(const char *msg);
Dutil.h9 int ui__dialog_yesno(const char *msg);
/tools/testing/selftests/cpu-hotplug/
Don-off-test.sh7 msg="skip all tests:"
10 echo $msg must be run as root >&2
17 echo $msg sysfs is not mounted >&2
22 echo $msg cpu hotplug is not supported >&2
170 msg="skip extra tests:"
176 echo $msg debugfs is not mounted >&2
181 echo $msg cpu-notifier-error-inject module is not available >&2
/tools/testing/selftests/memory-hotplug/
Don-off-test.sh7 msg="skip all tests:"
10 echo $msg must be run as root >&2
17 echo $msg sysfs is not mounted >&2
22 echo $msg memory hotplug is not supported >&2
177 msg="skip extra tests:"
183 echo $msg debugfs is not mounted >&2
188 echo $msg memory-notifier-error-inject module is not available >&2
/tools/perf/util/
Dusage.c14 char msg[1024]; in report() local
15 vsnprintf(msg, sizeof(msg), err, params); in report()
16 fprintf(stderr, " %s%s\n", prefix, msg); in report()
Dtarget.c111 const char *msg; in perf_target__strerror() local
132 msg = perf_target__error_str[idx]; in perf_target__strerror()
137 snprintf(buf, buflen, "%s", msg); in perf_target__strerror()
142 snprintf(buf, buflen, msg, target->uid_str); in perf_target__strerror()
Dpmu.h34 void perf_pmu_error(struct list_head *list, char *name, char const *msg);
Dpmu.y90 char const *msg __maybe_unused)
Devsel.c1483 char *msg, size_t msgsize) in perf_evsel__fallback() argument
1496 scnprintf(msg, msgsize, "%s", in perf_evsel__fallback()
1512 int err, char *msg, size_t size) in perf_evsel__open_strerror() argument
1517 return scnprintf(msg, size, in perf_evsel__open_strerror()
1529 return scnprintf(msg, size, "The %s event is not supported.", in perf_evsel__open_strerror()
1532 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
1537 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
1542 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
1546 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
1555 return scnprintf(msg, size, in perf_evsel__open_strerror()
Devsel.h289 char *msg, size_t msgsize);
292 int err, char *msg, size_t size);
Dparse-events.h101 void parse_events_error(void *data, void *scanner, char const *msg);
/tools/perf/ui/tui/
Dhelpline.c17 static void tui_helpline__push(const char *msg) in tui_helpline__push() argument
23 SLsmg_write_nstring((char *)msg, SLtt_Screen_Cols); in tui_helpline__push()
25 strncpy(ui_helpline__current, msg, sz)[sz - 1] = '\0'; in tui_helpline__push()
Dutil.c206 int ui__dialog_yesno(const char *msg) in ui__dialog_yesno() argument
208 return ui__question_window(NULL, msg, "Enter: Yes, ESC: No", 0); in ui__dialog_yesno()
/tools/testing/selftests/efivarfs/
Defivarfs.sh8 local msg="skip all tests:"
11 echo $msg must be run as root >&2
16 echo $msg efivarfs is not mounted on $efivarfs_mount >&2
/tools/perf/
Dbuiltin-top.c305 static void prompt_integer(int *target, const char *msg) in prompt_integer() argument
311 fprintf(stdout, "\n%s: ", msg); in prompt_integer()
331 static void prompt_percent(int *target, const char *msg) in prompt_percent() argument
335 prompt_integer(&tmp, msg); in prompt_percent()
340 static void perf_top__prompt_symbol(struct perf_top *top, const char *msg) in perf_top__prompt_symbol() argument
353 fprintf(stdout, "\n%s: ", msg); in perf_top__prompt_symbol()
742 const char *msg = "Kernel samples will not be resolved.\n"; in perf_event__process_sample() local
759 symbol_conf.vmlinux_name, msg); in perf_event__process_sample()
762 msg); in perf_event__process_sample()
879 char msg[512]; in perf_top__start_counters() local
[all …]
Dbuiltin-record.c225 char msg[512]; in perf_record__open() local
237 if (perf_evsel__fallback(pos, errno, msg, sizeof(msg))) { in perf_record__open()
239 ui__warning("%s\n", msg); in perf_record__open()
245 errno, msg, sizeof(msg)); in perf_record__open()
246 ui__error("%s\n", msg); in perf_record__open()
/tools/testing/selftests/net/
Drun_afpackettests4 echo $msg must be run as root >&2
/tools/hv/
Dhv_vss_daemon.c108 static int netlink_send(int fd, struct cn_msg *msg) in netlink_send() argument
116 size = NLMSG_SPACE(sizeof(struct cn_msg) + msg->len); in netlink_send()
128 iov[1].iov_base = msg; in netlink_send()
/tools/perf/tests/
Dattr.py13 def __init__(self, test, msg): argument
14 self.msg = msg
17 return '\'%s\' - %s' % (self.test.path, self.msg)
/tools/perf/bench/
Dsched-messaging.c53 static void barf(const char *msg) in barf() argument
55 fprintf(stderr, "%s (error: %s)\n", msg, strerror(errno)); in barf()
/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c260 static void check_success(const char *msg) in check_success() argument
284 printf("%s [%s]\n", msg, msg2); in check_success()

12