Commit 8f13befb authored by Qais Yousef's avatar Qais Yousef Committed by Ionela Voinescu
Browse files

sched_tp: rename some events to match what Lisa expects



s/sched_pelt_cfs/sched_load_cfs_rq/
s/sched_pelt_se/sched_load_se/
Signed-off-by: Qais Yousef's avatarQais Yousef <qais.yousef@arm.com>
parent 0c42668b
......@@ -10,7 +10,7 @@
#include <linux/tracepoint.h>
TRACE_EVENT(sched_pelt_cfs,
TRACE_EVENT(sched_load_cfs_rq,
TP_PROTO(int cpu, char *path, const struct sched_avg *avg),
......@@ -74,7 +74,7 @@ DEFINE_EVENT(sched_pelt_rq_template, sched_pelt_irq,
TP_PROTO(int cpu, const struct sched_avg *avg),
TP_ARGS(cpu, avg));
TRACE_EVENT(sched_pelt_se,
TRACE_EVENT(sched_load_se,
TP_PROTO(int cpu, char *path, char *comm, int pid, const struct sched_avg *avg),
......
......@@ -27,7 +27,7 @@ static inline struct cfs_rq *get_se_cfs_rq(struct sched_entity *se)
static void sched_pelt_cfs(void *data, struct cfs_rq *cfs_rq)
{
if (trace_sched_pelt_cfs_enabled()) {
if (trace_sched_load_cfs_rq_enabled()) {
const struct sched_avg *avg;
char path[PATH_SIZE];
int cpu;
......@@ -36,7 +36,7 @@ static void sched_pelt_cfs(void *data, struct cfs_rq *cfs_rq)
sched_trace_cfs_rq_path(cfs_rq, path, PATH_SIZE);
cpu = sched_trace_cfs_rq_cpu(cfs_rq);
trace_sched_pelt_cfs(cpu, path, avg);
trace_sched_load_cfs_rq(cpu, path, avg);
}
}
......@@ -81,7 +81,7 @@ static void sched_pelt_irq(void *data, struct rq *rq)
static void sched_pelt_se(void *data, struct sched_entity *se)
{
if (trace_sched_pelt_se_enabled()) {
if (trace_sched_load_se_enabled()) {
void *gcfs_rq = get_group_cfs_rq(se);
void *cfs_rq = get_se_cfs_rq(se);
struct task_struct *p;
......@@ -97,7 +97,7 @@ static void sched_pelt_se(void *data, struct sched_entity *se)
comm = p ? p->comm : "(null)";
pid = p ? p->pid : -1;
trace_sched_pelt_se(cpu, path, comm, pid, &se->avg);
trace_sched_load_se(cpu, path, comm, pid, &se->avg);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment