Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Issue 2086007: CHROMIUM: Enable CONFIG_FUNCTION_TRACER (Closed)

Created:
10 years, 7 months ago by Olof Johansson
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git/kernel.git
Visibility:
Public.

Description

CHROMIUM: Enable CONFIG_FUNCTION_TRACER Since it can be used to do nifty tracing of startup times According to the Kconfig help text, it should have no measurable performance impact as long as it's not runtime enabled (boot time default is disabled). Signed-off-by: Olof Johansson <olofj@chromium.org>;

Patch Set 1 #

Patch Set 2 : Did a separate refresh of configs to avoid churn #

Patch Set 3 : PTAL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -19 lines) Patch
M chromeos/config/armel/config.common.armel View 9 chunks +2 lines, -13 lines 0 comments Download
M chromeos/config/config.common.chromeos View 16 chunks +28 lines, -1 line 0 comments Download
M chromeos/config/i386/config.common.i386 View 1 2 9 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jrbarnette
LGTM
10 years, 7 months ago (2010-05-17 18:28:39 UTC) #1
Olof Johansson
PTAL, had to rebase due to other patches having been merged already.
10 years, 7 months ago (2010-05-19 00:05:32 UTC) #2
jrbarnette
On 2010/05/19 00:05:32, Olof Johansson wrote: > PTAL, had to rebase due to other patches ...
10 years, 7 months ago (2010-05-19 15:48:36 UTC) #3
Mandeep Singh Baines
Is there any perfomance impact for this change?
10 years, 7 months ago (2010-05-19 18:25:12 UTC) #4
Olof Johansson
From the Kconfig help: config FUNCTION_TRACER [...] help Enable the kernel to trace every kernel ...
10 years, 7 months ago (2010-05-19 18:28:20 UTC) #5
jrbarnette
On May 19, 2010, at 11:25 AM, msb@chromium.org wrote: > Is there any perfomance impact ...
10 years, 7 months ago (2010-05-19 18:47:00 UTC) #6
jrbarnette
On May 19, 2010, at 11:55 AM, Sam Leffler wrote: > I'd agree on adding ...
10 years, 7 months ago (2010-05-19 19:43:05 UTC) #7
Olof Johansson
On 2010/05/19 19:43:05, jrbarnette wrote: > What's the space overhead? 5 bytes per function. -Olof
10 years, 7 months ago (2010-05-19 19:45:04 UTC) #8
Sam Leffler
Looked like there was cache alignment overhead too. -Sam On Wed, May 19, 2010 at ...
10 years, 7 months ago (2010-05-19 20:15:18 UTC) #9
Mandeep Singh Baines
10 years, 7 months ago (2010-05-19 20:30:40 UTC) #10
LGTM

olofj@chromium.org (olofj@chromium.org) wrote:
> From the Kconfig help:
>
> config FUNCTION_TRACER
> [...]
>     help
>       Enable the kernel to trace every kernel function. This is done
>       by using a compiler feature to insert a small, 5-byte No-Operation
>       instruction to the beginning of every kernel function, which NOP
>       sequence is then dynamically patched into a tracer call when
>       tracing is enabled by the administrator. If it's runtime disabled
>       (the bootup default), then the overhead of the instructions is very
>       small and not measurable even in micro-benchmarks.
>
>
> http://codereview.chromium.org/2086007/show

Powered by Google App Engine
This is Rietveld 408576698