public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Q] perf, x86: should perf_event_x.c being compiled conditionally?
@ 2010-05-28 21:35 Cyrill Gorcunov
  2010-05-29  7:38 ` Peter Zijlstra
  0 siblings, 1 reply; 4+ messages in thread
From: Cyrill Gorcunov @ 2010-05-28 21:35 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Frédéric Weisbecker, Arnaldo Carvalho de Melo, LKML

Hi,

while was building the kernel for pretty old laptop I've noticed
that perf_event_x.c depends on CONFIG_CPU_SUP_ only. So I'm somehow
confused. Should not some additional condition being used?

For example if a person have Core 2 or Nehalem machine, he will
definitely not need p6 and p4 events (yes, they are not _that_ big
in size, but anyway).

On the other hands distro builders would prefer to have all compiled in.

Not sure about what is the best way to resolve this, but perhaps I'm just
missing some key moment?

	-- Cyrill

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-29 13:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28 21:35 [Q] perf, x86: should perf_event_x.c being compiled conditionally? Cyrill Gorcunov
2010-05-29  7:38 ` Peter Zijlstra
2010-05-29 13:02   ` Cyrill Gorcunov
2010-05-29 13:19     ` Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox