diff options
author | Dragos Motrea <Dragos.Motrea@enea.com> | 2017-05-31 14:07:30 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-06-05 09:29:09 +0200 |
commit | 6c9f970096f3dff240b0ab366d94a72f4fbd557c (patch) | |
tree | 931de073b7006d236a4bdc1d509abc4b6117e943 /features/tracing | |
parent | 49700962b5d566f0c8e726409063193dee069828 (diff) | |
download | enea-kernel-cache-6c9f970096f3dff240b0ab366d94a72f4fbd557c.tar.gz |
Optimized the kernel foot print of the Host Image
In order to decrease the size of the kernel I removed unnecessary modules
(drivers, debug capabilities)
Signed-off-by: Dragos Motrea <Dragos.Motrea@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'features/tracing')
-rw-r--r-- | features/tracing/tracing_n.cfg | 7 | ||||
-rw-r--r-- | features/tracing/tracing_n.scc | 4 | ||||
-rw-r--r-- | features/tracing/tracing_y.cfg | 7 | ||||
-rw-r--r-- | features/tracing/tracing_y.scc | 4 |
4 files changed, 22 insertions, 0 deletions
diff --git a/features/tracing/tracing_n.cfg b/features/tracing/tracing_n.cfg new file mode 100644 index 0000000..3f020a8 --- /dev/null +++ b/features/tracing/tracing_n.cfg | |||
@@ -0,0 +1,7 @@ | |||
1 | CONFIG_NOP_TRACER=n | ||
2 | CONFIG_TRACE_CLOCK=n | ||
3 | CONFIG_RING_BUFFER=n | ||
4 | CONFIG_EVENT_TRACING=n | ||
5 | CONFIG_CONTEXT_SWITCH_TRACER=n | ||
6 | CONFIG_TRACING=n | ||
7 | CONFIG_GENERIC_TRACER=n | ||
diff --git a/features/tracing/tracing_n.scc b/features/tracing/tracing_n.scc new file mode 100644 index 0000000..1a6657a --- /dev/null +++ b/features/tracing/tracing_n.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Disable options for tracing support" | ||
2 | define KFEATURE_COMPATIBILITY all | ||
3 | |||
4 | kconf non-hardware tracing_n.cfg | ||
diff --git a/features/tracing/tracing_y.cfg b/features/tracing/tracing_y.cfg new file mode 100644 index 0000000..5fad689 --- /dev/null +++ b/features/tracing/tracing_y.cfg | |||
@@ -0,0 +1,7 @@ | |||
1 | CONFIG_NOP_TRACER=y | ||
2 | CONFIG_TRACE_CLOCK=y | ||
3 | CONFIG_RING_BUFFER=y | ||
4 | CONFIG_EVENT_TRACING=y | ||
5 | CONFIG_CONTEXT_SWITCH_TRACER=y | ||
6 | CONFIG_TRACING=y | ||
7 | CONFIG_GENERIC_TRACER=y | ||
diff --git a/features/tracing/tracing_y.scc b/features/tracing/tracing_y.scc new file mode 100644 index 0000000..be15540 --- /dev/null +++ b/features/tracing/tracing_y.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable options for tracing support" | ||
2 | define KFEATURE_COMPATIBILITY all | ||
3 | |||
4 | kconf non-hardware tracing_n.cfg | ||