summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2011-02-14 09:51:56 +0100
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 08:59:23 +0100
commit5d084f31f3430a8144b44f7fb7e6a701461d8822 (patch)
tree09da55e30e5a51d03948ed7e956e97d7adaf422a /kernel
parentc902d955bad71f715b63d79f910aa3204351046a (diff)
ftrace: Increase number of named processes
The default setting of 128 is not close to enough to save all the names of processes/threads executed during 1s of idle in Android. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I6f9ef8d5f167f4b1f8de7b996130e65ee5fc7598 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/15157 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 8c27328a781..2d1c28efc8b 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -912,7 +912,7 @@ void tracing_reset_current_online_cpus(void)
tracing_reset_online_cpus(&global_trace);
}
-#define SAVED_CMDLINES 128
+#define SAVED_CMDLINES 2048
#define NO_CMDLINE_MAP UINT_MAX
static unsigned map_pid_to_cmdline[PID_MAX_DEFAULT+1];
static unsigned map_cmdline_to_pid[SAVED_CMDLINES];