sched: remove the 'u64 now' parameter from print_cfs_rq()
remove the 'u64 now' parameter from print_cfs_rq(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -139,7 +139,7 @@ struct cfs_rq;
|
|||||||
extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m);
|
extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m);
|
||||||
extern void proc_sched_set_task(struct task_struct *p);
|
extern void proc_sched_set_task(struct task_struct *p);
|
||||||
extern void
|
extern void
|
||||||
print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq, u64 now);
|
print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
|
||||||
#else
|
#else
|
||||||
static inline void
|
static inline void
|
||||||
proc_sched_show_task(struct task_struct *p, struct seq_file *m)
|
proc_sched_show_task(struct task_struct *p, struct seq_file *m)
|
||||||
@@ -149,7 +149,7 @@ static inline void proc_sched_set_task(struct task_struct *p)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
static inline void
|
static inline void
|
||||||
print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq, u64 now)
|
print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -106,7 +106,7 @@ print_cfs_rq_runtime_sum(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
|
|||||||
(long long)wait_runtime_rq_sum);
|
(long long)wait_runtime_rq_sum);
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq, u64 now)
|
void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
|
||||||
{
|
{
|
||||||
SEQ_printf(m, "\ncfs_rq %p\n", cfs_rq);
|
SEQ_printf(m, "\ncfs_rq %p\n", cfs_rq);
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now)
|
|||||||
P(cpu_load[4]);
|
P(cpu_load[4]);
|
||||||
#undef P
|
#undef P
|
||||||
|
|
||||||
print_cfs_stats(m, cpu, now);
|
print_cfs_stats(m, cpu);
|
||||||
|
|
||||||
print_rq(m, rq, cpu, now);
|
print_rq(m, rq, cpu, now);
|
||||||
}
|
}
|
||||||
|
@@ -1108,12 +1108,12 @@ struct sched_class fair_sched_class __read_mostly = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_DEBUG
|
#ifdef CONFIG_SCHED_DEBUG
|
||||||
static void print_cfs_stats(struct seq_file *m, int cpu, u64 now)
|
static void print_cfs_stats(struct seq_file *m, int cpu)
|
||||||
{
|
{
|
||||||
struct rq *rq = cpu_rq(cpu);
|
struct rq *rq = cpu_rq(cpu);
|
||||||
struct cfs_rq *cfs_rq;
|
struct cfs_rq *cfs_rq;
|
||||||
|
|
||||||
for_each_leaf_cfs_rq(rq, cfs_rq)
|
for_each_leaf_cfs_rq(rq, cfs_rq)
|
||||||
print_cfs_rq(m, cpu, cfs_rq, now);
|
print_cfs_rq(m, cpu, cfs_rq);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user