aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/ds.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2009-04-03 10:43:38 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-07 07:36:17 -0400
commit15879d042164650b93d83281ad5f87ad323bfbfe (patch)
tree13a756b1084df356982be428f79f7a9aadfcd3d9 /arch/x86/include/asm/ds.h
parent38f801129ad07b9afa7f9bd3779f61b805416d8c (diff)
x86, bts: use trace_clock_global() for timestamps
Rename the bts_struct timestamp field to event. Use trace_clock_global() for time measurement. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Markus Metzger <markus.t.metzger@intel.com> Cc: roland@redhat.com Cc: eranian@googlemail.com Cc: oleg@redhat.com Cc: juan.villacis@intel.com Cc: ak@linux.jf.intel.com LKML-Reference: <20090403144553.773216000@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/ds.h')
-rw-r--r--arch/x86/include/asm/ds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/ds.h b/arch/x86/include/asm/ds.h
index a8f672ba100c..772f141afb9a 100644
--- a/arch/x86/include/asm/ds.h
+++ b/arch/x86/include/asm/ds.h
@@ -170,9 +170,9 @@ struct bts_struct {
170 } lbr; 170 } lbr;
171 /* BTS_TASK_ARRIVES or BTS_TASK_DEPARTS */ 171 /* BTS_TASK_ARRIVES or BTS_TASK_DEPARTS */
172 struct { 172 struct {
173 __u64 jiffies; 173 __u64 clock;
174 pid_t pid; 174 pid_t pid;
175 } timestamp; 175 } event;
176 } variant; 176 } variant;
177}; 177};
178 178