Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 877a0893 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: lttng: remove from the drivers/staging/ tree



The "proper" way to do this is to work with the existing in-kernel
tracing subsystem and work to get the missing features that are in lttng
into those subsystems.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 03cf1526
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -66,8 +66,6 @@ source "drivers/staging/phison/Kconfig"

source "drivers/staging/line6/Kconfig"

source "drivers/staging/lttng/Kconfig"

source "drivers/gpu/drm/nouveau/Kconfig"

source "drivers/staging/octeon/Kconfig"
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ obj-$(CONFIG_TRANZPORT) += frontier/
obj-$(CONFIG_POHMELFS)		+= pohmelfs/
obj-$(CONFIG_IDE_PHISON)	+= phison/
obj-$(CONFIG_LINE6_USB)		+= line6/
obj-$(CONFIG_LTTNG)		+= lttng/
obj-$(CONFIG_USB_SERIAL_QUATECH2)	+= serqt_usb2/
obj-$(CONFIG_USB_SERIAL_QUATECH_USB2)	+= quatech_usb2/
obj-$(CONFIG_OCTEON_ETHERNET)	+= octeon/

drivers/staging/lttng/Kconfig

deleted100644 → 0
+0 −35
Original line number Diff line number Diff line
config LTTNG
	tristate "LTTng kernel tracer"
	depends on TRACEPOINTS
	help
	  The LTTng 2.0 Tracer Toolchain allows integrated kernel and
	  user-space tracing from a single user interface: the "lttng"
	  command. See http://lttng.org website for the "lttng-tools"
	  user-space tracer control tools package and the "babeltrace"
	  package for conversion of trace data to a human-readable
	  format.

	  LTTng features:
	  - System-wide tracing across kernel, libraries and
	    applications,
	  - Tracepoints, detailed syscall tracing (fast strace replacement),
	    Function tracer, CPU Performance Monitoring Unit (PMU) counters
	    and kprobes support,
	  - Have the ability to attach "context" information to events in the
	    trace (e.g. any PMU counter, pid, ppid, tid, comm name, etc). All
	    the extra information fields to be collected with events are
	    optional, specified on a per-tracing-session basis (except for
	    timestamp and event id, which are mandatory).
	  - Precise and fast clock sources with near cycle-level
	    timestamps,
	  - Efficient trace data transport:
	    - Compact Binary format with CTF,
	    - Per-core buffers ensures scalability,
	    - Fast-paths in caller context, amortized synchronization,
	    - Zero-copy using splice and mmap system calls, over disk,
	      network or consumed in-place,
	  - Multiple concurrent tracing sessions are supported,
	  - Designed to meet hard real-time constraints,
	  - Supports live streaming of the trace data,
	  - Produces CTF (Common Trace Format) natively (see
	    http://www.efficios.com/ctf).

drivers/staging/lttng/LICENSE

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
LTTng modules licensing
Mathieu Desnoyers
June 2, 2011

* LGPLv2.1/GPLv2 dual-license

The files contained within this package are licensed under
LGPLv2.1/GPLv2 dual-license (see lgpl-2.1.txt and gpl-2.0.txt for
details), except for files identified by the following sections.

* GPLv2 license

These files are licensed exclusively under the GPLv2 license. See
gpl-2.0.txt for details.

lib/ringbuffer/ring_buffer_splice.c
lib/ringbuffer/ring_buffer_mmap.c
instrumentation/events/mainline/*.h
instrumentation/events/lttng-modules/*.h

* MIT-style license

These files are licensed under an MIT-style license:

lib/prio_heap/lttng_prio_heap.h
lib/prio_heap/lttng_prio_heap.c
lib/bitfield.h

drivers/staging/lttng/Makefile

deleted100644 → 0
+0 −33
Original line number Diff line number Diff line
#
# Makefile for the LTTng modules.
#

obj-m += ltt-ring-buffer-client-discard.o
obj-m += ltt-ring-buffer-client-overwrite.o
obj-m += ltt-ring-buffer-metadata-client.o
obj-m += ltt-ring-buffer-client-mmap-discard.o
obj-m += ltt-ring-buffer-client-mmap-overwrite.o
obj-m += ltt-ring-buffer-metadata-mmap-client.o

obj-m += ltt-relay.o
ltt-relay-objs :=  ltt-events.o ltt-debugfs-abi.o \
			ltt-probes.o ltt-context.o \
			lttng-context-pid.o lttng-context-procname.o \
			lttng-context-prio.o lttng-context-nice.o \
			lttng-context-vpid.o lttng-context-tid.o \
			lttng-context-vtid.o lttng-context-ppid.o \
			lttng-context-vppid.o lttng-calibrate.o

ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),)
ltt-relay-objs += lttng-syscalls.o
endif

ifneq ($(CONFIG_PERF_EVENTS),)
ltt-relay-objs += $(shell \
	if [ $(VERSION) -ge 3 \
		-o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 \) ] ; then \
		echo "lttng-context-perf-counters.o" ; fi;)
endif

obj-m += probes/
obj-m += lib/
Loading