diff options
author | Shawn Landden <shawn@churchofgit.com> | 2015-03-23 03:51:35 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-24 00:12:03 -0400 |
commit | de49f273e20bd37a5644f58175fe66203c9e4b04 (patch) | |
tree | b007115e77ce5d8c81318db99c7e1362a5167ffe /src | |
parent | b53a2485a43a59f3a8e45baabac6fc84a53cb3e6 (diff) |
bootchart: more useful error message for common error
Reported-by: tfirg_ on IRC
Diffstat (limited to 'src')
-rw-r--r-- | src/bootchart/store.c | 2 |
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); } } |