[PATCH v2 0/2] Clean up schedstat and task delay acct config options

From: Naveen N. Rao
Date: Thu Jun 25 2015 - 14:25:10 EST


Further to the earlier discussion [1], this patch set introduces CONFIG_SCHED_INFO for the common code associated with CONFIG_SCHEDSTATS and CONFIG_TASK_DELAY_ACCT. Further, /proc/<pid>/schedstat is now exposed if either of these is enabled.

[1] http://thread.gmane.org/gmane.linux.kernel/1961707

- Naveen


Naveen N. Rao (2):
schedstat: Simplify sched_info accounting dependency
schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

fs/proc/base.c | 11 +++++++----
include/linux/sched.h | 6 +++---
init/Kconfig | 1 +
kernel/sched/core.c | 2 +-
kernel/sched/stats.h | 4 ++--
lib/Kconfig.debug | 5 +++++
6 files changed, 19 insertions(+), 10 deletions(-)

--
2.4.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/