x86, ptrace: use jiffies for BTS timestamps
Replace sched_clock() with jiffies for BTS timestamps. Signed-off-by: Markus Metzger <markus.t.metzger@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
committed by
Ingo Molnar
parent
2f4aaf53c2
commit
3c68904fee
@ -616,7 +616,7 @@ void ptrace_bts_take_timestamp(struct task_struct *tsk,
|
||||
{
|
||||
struct bts_struct rec = {
|
||||
.qualifier = qualifier,
|
||||
.variant.timestamp = sched_clock()
|
||||
.variant.jiffies = jiffies
|
||||
};
|
||||
|
||||
if (ptrace_bts_get_buffer_size(tsk) <= 0)
|
||||
|
Reference in New Issue
Block a user