From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3358124974473584537==" MIME-Version: 1.0 From: Chris Ferron Subject: Re: [Powertop] [PATCH] Get rid of ncurses' TRUE and FALSE Date: Mon, 23 Jul 2012 08:09:16 -0700 Message-ID: <500D691C.9090603@linux.intel.com> In-Reply-To: 500D506D.8060204@linux.intel.com To: powertop@lists.01.org List-ID: --===============3358124974473584537== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 07/23/2012 06:23 AM, Arjan van de Ven wrote: > On 7/23/2012 12:31 AM, Magnus Fromreide wrote: > >>> Without it PowerTOP will not know what system call number >>> __NR_perf_event_open has on ARM. >> Why can't it take __NR_perf_event_open from the libc headers? >> That is, why can't the whole ifdef under /* some people have stale >> headers */ go? >> >> Powertop is rather demanding with regards to the environment anyhow and >> magic constants are never fun. > 100% agreed; I briefly talked to Chris on Friday based on this patch and > that is the conclusion we came to as well. This fix went in Friday as well. We should be now taking = __NR_perf_event_open from sys/syscall.h now. > > > _______________________________________________ > PowerTop mailing list > PowerTop(a)lists.01.org > https://lists.01.org/mailman/listinfo/powertop --===============3358124974473584537==--