Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205257
b: refs/heads/master
c: 039ca4e
h: refs/heads/master
i:
  205255: 6954deb
v: v3
  • Loading branch information
Li Zefan authored and Frederic Weisbecker committed Jun 9, 2010
1 parent 54cda3b commit 66b49f2
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 834 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: 30dbb20e68e6f7df974b77d2350ebad5eb6f6c9e
refs/heads/master: 039ca4e74a1cf60bd7487324a564ecf5c981f254
71 changes: 0 additions & 71 deletions trunk/Documentation/ABI/testing/debugfs-kmemtrace

This file was deleted.

126 changes: 0 additions & 126 deletions trunk/Documentation/trace/kmemtrace.txt

This file was deleted.

7 changes: 0 additions & 7 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3361,13 +3361,6 @@ F: include/linux/kmemleak.h
F: mm/kmemleak.c
F: mm/kmemleak-test.c

KMEMTRACE
M: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
S: Maintained
F: Documentation/trace/kmemtrace.txt
F: include/linux/kmemtrace.h
F: kernel/trace/kmemtrace.c

KPROBES
M: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
M: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Expand Down
25 changes: 0 additions & 25 deletions trunk/include/linux/kmemtrace.h

This file was deleted.

3 changes: 2 additions & 1 deletion trunk/include/linux/slab_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#include <asm/page.h> /* kmalloc_sizes.h needs PAGE_SIZE */
#include <asm/cache.h> /* kmalloc_sizes.h needs L1_CACHE_BYTES */
#include <linux/compiler.h>
#include <linux/kmemtrace.h>

#include <trace/events/kmem.h>

#ifndef ARCH_KMALLOC_MINALIGN
/*
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/slub_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
#include <linux/gfp.h>
#include <linux/workqueue.h>
#include <linux/kobject.h>
#include <linux/kmemtrace.h>
#include <linux/kmemleak.h>

#include <trace/events/kmem.h>

enum stat_item {
ALLOC_FASTPATH, /* Allocation from cpu slab */
ALLOC_SLOWPATH, /* Allocation by getting a new cpu slab */
Expand Down
2 changes: 0 additions & 2 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
#include <linux/ftrace.h>
#include <linux/async.h>
#include <linux/kmemcheck.h>
#include <linux/kmemtrace.h>
#include <linux/sfi.h>
#include <linux/shmem_fs.h>
#include <linux/slab.h>
Expand Down Expand Up @@ -652,7 +651,6 @@ asmlinkage void __init start_kernel(void)
#endif
page_cgroup_init();
enable_debug_pagealloc();
kmemtrace_init();
kmemleak_init();
debug_objects_mem_init();
idr_init_cache();
Expand Down
20 changes: 0 additions & 20 deletions trunk/kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -354,26 +354,6 @@ config STACK_TRACER

Say N if unsure.

config KMEMTRACE
bool "Trace SLAB allocations"
select GENERIC_TRACER
help
kmemtrace provides tracing for slab allocator functions, such as
kmalloc, kfree, kmem_cache_alloc, kmem_cache_free, etc. Collected
data is then fed to the userspace application in order to analyse
allocation hotspots, internal fragmentation and so on, making it
possible to see how well an allocator performs, as well as debug
and profile kernel code.

This requires an userspace application to use. See
Documentation/trace/kmemtrace.txt for more information.

Saying Y will make the kernel somewhat larger and slower. However,
if you disable kmemtrace at run-time or boot-time, the performance
impact is minimal (depending on the arch the kernel is built for).

If unsure, say N.

config WORKQUEUE_TRACER
bool "Trace workqueues"
select GENERIC_TRACER
Expand Down
1 change: 0 additions & 1 deletion trunk/kernel/trace/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ obj-$(CONFIG_STACK_TRACER) += trace_stack.o
obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += trace_functions_graph.o
obj-$(CONFIG_TRACE_BRANCH_PROFILING) += trace_branch.o
obj-$(CONFIG_KMEMTRACE) += kmemtrace.o
obj-$(CONFIG_WORKQUEUE_TRACER) += trace_workqueue.o
obj-$(CONFIG_BLK_DEV_IO_TRACE) += blktrace.o
ifeq ($(CONFIG_BLOCK),y)
Expand Down
Loading

0 comments on commit 66b49f2

Please sign in to comment.