+/* LTTng kernel tracer probe modules list */
+struct kern_modules_param kern_modules_probes_default[] = {
+ { "lttng-probe-asoc" },
+ { "lttng-probe-block" },
+ { "lttng-probe-btrfs" },
+ { "lttng-probe-compaction" },
+ { "lttng-probe-ext3" },
+ { "lttng-probe-ext4" },
+ { "lttng-probe-gpio" },
+ { "lttng-probe-irq" },
+ { "lttng-probe-jbd" },
+ { "lttng-probe-jbd2" },
+ { "lttng-probe-kmem" },
+ { "lttng-probe-kvm" },
+ { "lttng-probe-kvm-x86" },
+ { "lttng-probe-kvm-x86-mmu" },
+ { "lttng-probe-lock" },
+ { "lttng-probe-module" },
+ { "lttng-probe-napi" },
+ { "lttng-probe-net" },
+ { "lttng-probe-power" },
+ { "lttng-probe-printk" },
+ { "lttng-probe-random" },
+ { "lttng-probe-rcu" },
+ { "lttng-probe-regmap" },
+ { "lttng-probe-regulator" },
+ { "lttng-probe-rpm" },
+ { "lttng-probe-sched" },
+ { "lttng-probe-scsi" },
+ { "lttng-probe-signal" },
+ { "lttng-probe-skb" },
+ { "lttng-probe-sock" },
+ { "lttng-probe-statedump" },
+ { "lttng-probe-sunrpc" },
+ { "lttng-probe-timer" },
+ { "lttng-probe-udp" },
+ { "lttng-probe-vmscan" },
+ { "lttng-probe-v4l2" },
+ { "lttng-probe-workqueue" },
+ { "lttng-probe-writeback" },
+};
+
+/* dynamic probe modules list */
+static struct kern_modules_param *probes;
+static int nr_probes;
+static int probes_capacity;
+
+static void modprobe_remove_lttng(const struct kern_modules_param *modules,
+ int entries, int required)