Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140588
b: refs/heads/master
c: bf6803d
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg committed Dec 29, 2008
1 parent 61a84dc commit ddf87be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: faa97abe6a3673af268abb661c6b663252a911aa
refs/heads/master: bf6803d6fd654d9a73cd90308b5225d78655d027
2 changes: 1 addition & 1 deletion trunk/Documentation/vm/kmemtrace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ III. Quick usage guide
======================

1) Get a kernel that supports kmemtrace and build it accordingly (i.e. enable
CONFIG_KMEMTRACE and CONFIG_KMEMTRACE_DEFAULT_ENABLED).
CONFIG_KMEMTRACE).

2) Get the userspace tool and build it:
$ git-clone git://repo.or.cz/kmemtrace-user.git # current repository
Expand Down
8 changes: 0 additions & 8 deletions trunk/lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -823,14 +823,6 @@ config KMEMTRACE

If unsure, say N.

config KMEMTRACE_DEFAULT_ENABLED
bool "Enabled by default at boot"
depends on KMEMTRACE
help
Say Y here to enable kmemtrace at boot-time by default. Whatever
the choice, the behavior can be overridden by a kernel parameter,
as described in documentation.

menuconfig BUILD_DOCSRC
bool "Build targets in Documentation/ tree"
depends on HEADERS_CHECK
Expand Down
8 changes: 3 additions & 5 deletions trunk/mm/kmemtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ static struct rchan *kmemtrace_chan;
static u32 kmemtrace_buf_overruns;

static unsigned int kmemtrace_n_subbufs;
#ifdef CONFIG_KMEMTRACE_DEFAULT_ENABLED
static unsigned int kmemtrace_enabled = 1;
#else
static unsigned int kmemtrace_enabled = 0;
#endif

/* disabled by default */
static unsigned int kmemtrace_enabled;

/*
* The sequence number is used for reordering kmemtrace packets
Expand Down

0 comments on commit ddf87be

Please sign in to comment.