Re: ubuntu 11.10, systemtap and building my own kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Apr 2012, Frank Ch. Eigler wrote:

> Hi -
>
> On Tue, Apr 10, 2012 at 04:17:25PM -0400, Robert P. J. Day wrote:
> > [...]
> >   just FYI, this is the current problem:
> > [...]
>
> Yup, found it.  For now, you could adjust your copy of the runtime.h
> header file s/map/mask/ and have at it.  We'll plop presently a
> polished patch into proper place.

  actually, would it be possible to simplify the code?  i see that
systemtap's stat.c defines its own CPU iteration macro:

#define stp_for_each_cpu(cpu)  for_each_cpu_mask((cpu), cpu_possible_map)

is there no way to directly use the kernel's <linux/cpumask.h> file,
and something like "for_each_possible_cpu"?

  in any event, i "git clone"d systemtap so i can just pull the fix
when it's committed.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux