ftrace: remove-idx-sync

remove idx syncing - it's expensive on SMP.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Ingo Molnar
2008-05-12 21:20:46 +02:00
committed by Thomas Gleixner
parent 53c37c17aa
commit cdd31cd2d7
2 changed files with 5 additions and 37 deletions

View File

@@ -38,7 +38,6 @@ struct trace_entry {
char preempt_count;
int pid;
cycle_t t;
unsigned long idx;
union {
struct ftrace_entry fn;
struct ctx_switch_entry ctx;
@@ -57,7 +56,6 @@ struct trace_array_cpu {
atomic_t disabled;
spinlock_t lock;
struct lock_class_key lock_key;
cycle_t time_offset;
/* these fields get copied into max-trace: */
unsigned trace_head_idx;