*/
String eventSchedProcessWakeupNew();
+ /**
+ * Migration event, moving a non-running thread from one CPU's run queue to
+ * another.
+ *
+ * @return The event name
+ * @since 2.2
+ */
+ default String eventSchedMigrateTask() {
+ return "sched_migrate_task"; //$NON-NLS-1$
+ }
+
/**
* Starting the high resolution timer
* <p>
return "ret"; //$NON-NLS-1$
}
+ /**
+ * Field indicating the upcoming CPU of sched_wakeup and sched_waking
+ * events.
+ *
+ * @return The field name
+ * @since 2.2
+ */
+ default String fieldTargetCpu() {
+ return "target_cpu"; //$NON-NLS-1$
+ }
+
+ /**
+ * Field of scheduler migration events, indicating the destination CPU of a
+ * thread being migrated.
+ *
+ * @return The field name
+ * @since 2.2
+ */
+ default String fieldDestCpu() {
+ return "dest_cpu"; //$NON-NLS-1$
+ }
+
// ------------------------------------------------------------------------
// I/O events and fields
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
/**
- * An event indicating that a packet is sent on the network
+ * Get the list of events indicating that a packet is sent on the network
*
* @return The name of the packet send event
* @since 2.1
*/
- default String eventNetworkSend() {
- return "net_dev_queue"; //$NON-NLS-1$
+ default Collection<String> eventsNetworkSend() {
+ return Collections.EMPTY_SET;
}
/**
* @return The collection of names of the packet receive event
* @since 2.1
*/
- default Collection<String> eventNetworkReceive() {
- return Collections.singleton("netif_receive_skb"); //$NON-NLS-1$
+ default Collection<String> eventsNetworkReceive() {
+ return Collections.EMPTY_SET;
}
/**