Re: [PATCH 00/15] various perf counter bits
From: Ingo Molnar
Date:  Tue Apr 07 2009 - 05:23:55 EST
another thing i noticed is that our CPU migration counters look a 
bit weird:
aldebaran:~/linux/linux/Documentation/perf_counter> taskset 1 perfstat ls
design.txt  kerneltop  kerneltop.c  Makefile  perfstat
 Performance counter stats for 'ls':
       0.686802  task clock ticks     (msecs)
              3  context switches     (events)
              4  CPU migrations       (events)
            285  pagefaults           (events)
        2183899  CPU cycles           (events)
        1492516  instructions         (events)
          24638  cache references     (events)
           1763  cache misses         (events)
 Wall-clock time elapsed:     0.694796 msecs
the 'taskset 1' binds perfstat to a single CPU - still we had 4 
cross-CPU migrations?
	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/