summaryrefslogtreecommitdiff
path: root/src/bootchart
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2015-03-23 03:51:35 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-24 00:12:03 -0400
commitde49f273e20bd37a5644f58175fe66203c9e4b04 (patch)
treeb007115e77ce5d8c81318db99c7e1362a5167ffe /src/bootchart
parentb53a2485a43a59f3a8e45baabac6fc84a53cb3e6 (diff)
bootchart: more useful error message for common error
Reported-by: tfirg_ on IRC
Diffstat (limited to 'src/bootchart')
-rw-r--r--src/bootchart/store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootchart/store.c b/src/bootchart/store.c
index 607cc5e74b..dfa681f223 100644
--- a/src/bootchart/store.c
+++ b/src/bootchart/store.c
@@ -176,7 +176,7 @@ vmstat_next:
/* overall CPU utilization */
schedstat = openat(procfd, "schedstat", O_RDONLY);
if (schedstat == -1) {
- log_error_errno(errno, "Failed to open /proc/schedstat: %m");
+ log_error_errno(errno, "Failed to open /proc/schedstat (requires CONFIG_SCHEDSTATS=y in kernel config): %m");
exit(EXIT_FAILURE);
}
}