/*******************************************************************************
- * Copyright (c) 2012, 2014 Ericsson
+ * Copyright (c) 2012, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
private static final String SOFTIRQ_EXIT = "softirq_exit";
private static final String SOFTIRQ_RAISE = "softirq_raise";
private static final String SCHED_SWITCH = "sched_switch";
+ private static final String SCHED_PI_SETPRIO = "sched_pi_setprio";
private static final Collection<String> SCHED_WAKEUP_EVENTS =
checkNotNull(ImmutableList.of("sched_wakeup", "sched_wakeup_new"));
private static final String PARENT_TID = "parent_tid";
private static final String CHILD_COMM = "child_comm";
private static final String CHILD_TID = "child_tid";
+ private static final String PRIO = "prio";
+ private static final String NEXT_PRIO = "next_prio";
+ private static final String NEW_PRIO = "newprio";
/** All instances are the same. Only provide a static instance getter */
protected LttngEventLayout() {
return SCHED_SWITCH;
}
+ @Override
+ public String eventSchedPiSetprio() {
+ return SCHED_PI_SETPRIO;
+ }
+
@Override
public Collection<String> eventsSchedWakeup() {
return SCHED_WAKEUP_EVENTS;
return CHILD_TID;
}
+ @Override
+ public String fieldPrio() {
+ return PRIO;
+ }
+
+ @Override
+ public String fieldNewPrio() {
+ return NEW_PRIO;
+ }
+
+ @Override
+ public String fieldNextPrio() {
+ return NEXT_PRIO;
+ }
+
}