tools/lib/traceevent: Move traceevent plugins in its own subdirectory
PATCH 1/1 tools/lib/traceevent: Move traceevent plugins in its own subdirectory
All traceevent plugins code is moved to tools/lib/traceevent/plugins subdirectory. It makes traceevent implementation in trace-cmd and in kernel tree consistent. There is no changes in the way libtraceevent and plugins are compiled and installed.
Suggested-by Steven Rostedt (VMware) <[email protected]>
Signed-off-by Tzvetomir Stoyanov (VMware) <[email protected]>
---
tools/lib/traceevent/Build | 11 -
tools/lib/traceevent/Makefile | 94 ++------
tools/lib/traceevent/plugins/Build | 11 +
tools/lib/traceevent/plugins/Makefile | 223 ++++++++++++++++++
.../{ => plugins}/plugin_cfg80211.c | 0
.../{ => plugins}/plugin_function.c | 0
.../traceevent/{ => plugins}/plugin_hrtimer.c | 0
.../traceevent/{ => plugins}/plugin_jbd2.c | 0
.../traceevent/{ => plugins}/plugin_kmem.c | 0
.../lib/traceevent/{ => plugins}/plugin_kvm.c | 0
.../{ => plugins}/plugin_mac80211.c | 0
.../{ => plugins}/plugin_sched_switch.c | 0
.../traceevent/{ => plugins}/plugin_scsi.c | 0
.../lib/traceevent/{ => plugins}/plugin_xen.c | 0
14 files changed, 250 insertions(+), 89 deletions(-)
create mode 100644 tools/lib/traceevent/plugins/Build
create mode 100644 tools/lib/traceevent/plugins/Makefile
rename tools/lib/traceevent/{ => plugins}/plugin_cfg80211.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_function.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_hrtimer.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_jbd2.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_kmem.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_kvm.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_mac80211.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_sched_switch.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_scsi.c (100%)
rename tools/lib/traceevent/{ => plugins}/plugin_xen.c (100%)tools/lib/traceevent/Build +0 -11
@@ -6,14 +6,3 @@ libtraceevent-y += parse-utils.o libtraceevent-y += kbuffer-parse.o libtraceevent-y += tep_strerror.o libtraceevent-y += event-parse-api.o - -plugin_jbd2-y += plugin_jbd2.o -plugin_hrtimer-y += plugin_hrtimer.o -plugin_kmem-y += plugin_kmem.o -plugin_kvm-y += plugin_kvm.o -plugin_mac80211-y += plugin_mac80211.o -plugin_sched_switch-y += plugin_sched_switch.o -plugin_function-y += plugin_function.o -plugin_xen-y += plugin_xen.o -plugin_scsi-y += plugin_scsi.o -plugin_cfg80211-y += plugin_cfg80211.o
tools/lib/traceevent/Makefile +16 -78
148 lines not on this page · raw message
tools/lib/traceevent/plugins/Build new file +11 -0
@@ -0,0 +1,11 @@ +plugin_jbd2-y += plugin_jbd2.o +plugin_hrtimer-y += plugin_hrtimer.o +plugin_kmem-y += plugin_kmem.o +plugin_kvm-y += plugin_kvm.o +plugin_mac80211-y += plugin_mac80211.o +plugin_sched_switch-y += plugin_sched_switch.o +plugin_function-y += plugin_function.o +plugin_xen-y += plugin_xen.o +plugin_scsi-y += plugin_scsi.o +plugin_cfg80211-y += plugin_cfg80211.o +
tools/lib/traceevent/plugins/Makefile new file +223 -0
223 lines not on this page · raw message
tools/lib/traceevent/plugins/plugin_cfg80211.c renamed from tools/lib/traceevent/plugin_cfg80211.c +0 -0
tools/lib/traceevent/plugins/plugin_function.c renamed from tools/lib/traceevent/plugin_function.c +0 -0
tools/lib/traceevent/plugins/plugin_hrtimer.c renamed from tools/lib/traceevent/plugin_hrtimer.c +0 -0
tools/lib/traceevent/plugins/plugin_jbd2.c renamed from tools/lib/traceevent/plugin_jbd2.c +0 -0
tools/lib/traceevent/plugins/plugin_kmem.c renamed from tools/lib/traceevent/plugin_kmem.c +0 -0
tools/lib/traceevent/plugins/plugin_kvm.c renamed from tools/lib/traceevent/plugin_kvm.c +0 -0
tools/lib/traceevent/plugins/plugin_mac80211.c renamed from tools/lib/traceevent/plugin_mac80211.c +0 -0
tools/lib/traceevent/plugins/plugin_sched_switch.c renamed from tools/lib/traceevent/plugin_sched_switch.c +0 -0
tools/lib/traceevent/plugins/plugin_scsi.c renamed from tools/lib/traceevent/plugin_scsi.c +0 -0
tools/lib/traceevent/plugins/plugin_xen.c renamed from tools/lib/traceevent/plugin_xen.c +0 -0
Signature · 1 line
2.21.0