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

sched_tp: rename some tracepoints to match code name



s/sched_load_cfs_rq/sched_pelt_cfs/
s/sched_load_se/sched_pelt_se/
Signed-off-by: Qais Yousef's avatarQais Yousef <qais.yousef@arm.com>
parent 071dad9c
......@@ -24,7 +24,7 @@
#define RBL_LOAD_STR "runnable"
#endif
TRACE_EVENT(sched_load_cfs_rq,
TRACE_EVENT(sched_pelt_cfs,
TP_PROTO(int cpu, char *path, const struct sched_avg *avg),
......@@ -88,7 +88,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_load_se,
TRACE_EVENT(sched_pelt_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_load_cfs_rq_enabled()) {
if (trace_sched_pelt_cfs_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_load_cfs_rq(cpu, path, avg);
trace_sched_pelt_cfs(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_load_se_enabled()) {
if (trace_sched_pelt_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_load_se(cpu, path, comm, pid, &se->avg);
trace_sched_pelt_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