Skip to content

Allow different tracers to be compiled independently

Jan Kara cluster-devel dri-devel kvm linux-acpi linux-ext4 linux-mm linux-s390 linux-wireless lkml netdev sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18trace: Allow <linux/tracepoint.h> to create empty tracepointsinclude/linux/tracepoint.h+78 -182 replies
2/18block: Generate blktrace trace points only if blktrace is enabledinclude/trace/events/block.h+2 -00 replies
3/18mm: Generate kmemtrace trace points only if they are enabledinclude/trace/events/kmem.h+2 -00 replies
4/18mac80211: Generate trace points only if api tracer enablednet/mac80211/driver-trace.h+3 -12 replies
5/18workqueue: Generate trace points only when workqueue tracer enabledinclude/trace/events/workqueue.h+2 -00 replies
6/18sched: Generate trace points only if scheduler tracing is enabledinclude/trace/events/sched.h+2 -03 replies
7/18ext4: Provide config options for enabling ext4 and jbd2 tracinginclude/trace/events/ext4.h include/trace/events/jbd2.h kernel/trace/Kconfig+27 -00 replies
8/18lockdep: Provide config option for enabling lock tracepointsinclude/trace/events/lock.h kernel/trace/Kconfig+11 -00 replies
9/18module: Provide config option to enable tracing of module load / unloadinclude/trace/events/module.h kernel/trace/Kconfig+12 -00 replies
10/18gfs2: Provide config option for enabling trace pointsfs/gfs2/Kconfig fs/gfs2/trace_gfs2.h+10 -04 replies
11/18i915: Provide config option for enabling tracepointsdrivers/gpu/drm/Kconfig drivers/gpu/drm/i915/i915_trace.h+11 -01 reply
12/18timer: Provide config option for enabling timer tracepointsinclude/trace/events/timer.h kernel/trace/Kconfig+11 -02 replies
13/18acpi: Provide config option to enable power tracepointsinclude/trace/events/power.h kernel/trace/Kconfig+11 -00 replies
14/18net: Provide config option for enabling SKB tracinginclude/trace/events/skb.h kernel/trace/Kconfig+12 -00 replies
15/18net: Provide config option for enabling NAPI tracinginclude/trace/events/napi.h kernel/trace/Kconfig+11 -00 replies
16/18Generate empty tracepoints if syscall tracing is disabledinclude/trace/events/syscalls.h+2 -00 replies
17/18kvm: Provide config option for enabling KVM trace eventsinclude/trace/events/kvm.h kernel/trace/Kconfig+11 -00 replies
18/18Create config option for enabling IRQ tracepointsinclude/trace/events/irq.h kernel/trace/Kconfig+8 -00 replies

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchThomas Gleixner
1/18
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18A-b
13/18
14/18
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/18] Allow different tracers to be compiled independently

Hi,

currently, when one tracer is selected, most of tracepoints for other
tracers also gets pulled into the kernel. So for example it's not possible to enable BLK_DEV_IO_TRACE without polluting slab allocation paths with tracepoint checks (see changelog of patch 01). This patch set adds a possibility for each set of trace points to be compile-enabled separately.
The first patch contains the necessary magic in linux/tracepoint.h. Other
patches just tell tracing framework about correspoding config options and possibly introduce them if they did not exist before.
The patches in this patch set are actually completely independent so
they can be merged via respective subsystem trees. But changes are rather tiny so I don't expect much conflicts...

Honza