public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz
@ 2009-08-06 22:26 fche at redhat dot com
  2009-08-07  9:42 ` [Bug runtime/10493] " wenji dot huang at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fche at redhat dot com @ 2009-08-06 22:26 UTC (permalink / raw)
  To: systemtap

Some kernels (old rhel4 x86-64 xen) don't have and/or export cpu_khz.
These would need to go back to the heuristic estimation code in
runtime/time.c:__stp_get_freq().

-- 
           Summary: runtime/time.c: need autoconf for cpu_khz
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10493

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/10493] runtime/time.c: need autoconf for cpu_khz
  2009-08-06 22:26 [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz fche at redhat dot com
@ 2009-08-07  9:42 ` wenji dot huang at oracle dot com
  2009-08-07 18:04 ` fche at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wenji dot huang at oracle dot com @ 2009-08-07  9:42 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wenji dot huang at oracle dot com  2009-08-07 09:42 -------
Created an attachment (id=4120)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4120&action=view)
patch to detect cpu_khz


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10493

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/10493] runtime/time.c: need autoconf for cpu_khz
  2009-08-06 22:26 [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz fche at redhat dot com
  2009-08-07  9:42 ` [Bug runtime/10493] " wenji dot huang at oracle dot com
@ 2009-08-07 18:04 ` fche at redhat dot com
  2010-01-12  9:18 ` wenji dot huang at oracle dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2009-08-07 18:04 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2009-08-07 18:04 -------
Looks good, if cpu_khz is actually absent in these kernels, as opposed to merely
not EXPORT_SYMBOL'd.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10493

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/10493] runtime/time.c: need autoconf for cpu_khz
  2009-08-06 22:26 [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz fche at redhat dot com
  2009-08-07  9:42 ` [Bug runtime/10493] " wenji dot huang at oracle dot com
  2009-08-07 18:04 ` fche at redhat dot com
@ 2010-01-12  9:18 ` wenji dot huang at oracle dot com
  2010-01-13  3:35 ` wenji dot huang at oracle dot com
  2010-02-26  2:23 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: wenji dot huang at oracle dot com @ 2010-01-12  9:18 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wenji dot huang at oracle dot com  2010-01-12 09:18 -------
Created an attachment (id=4507)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4507&action=view)
Updated patch

Reading symbol from Module.symvers

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #4120 is|0                           |1
           obsolete|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10493

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/10493] runtime/time.c: need autoconf for cpu_khz
  2009-08-06 22:26 [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz fche at redhat dot com
                   ` (2 preceding siblings ...)
  2010-01-12  9:18 ` wenji dot huang at oracle dot com
@ 2010-01-13  3:35 ` wenji dot huang at oracle dot com
  2010-02-26  2:23 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: wenji dot huang at oracle dot com @ 2010-01-13  3:35 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wenji dot huang at oracle dot com  2010-01-13 03:35 -------
commit e25ab03ca60a5c6ca687b698502730ba2ad244dc
Author: Wenji Huang <wenji.huang@oracle.com>
Date:   Wed Jan 13 11:27:48 2010 +0800

    PR10493: autoconf for cpu_khz
    
    * buildrun.cxx (output_cpu_khz): New function to check cpu_khz.
      (compile_pass): Invoke function output_cpu_khz.
    * runtime/time.c : Use STAPCONF_CPU_KHZ.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10493

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/10493] runtime/time.c: need autoconf for cpu_khz
  2009-08-06 22:26 [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz fche at redhat dot com
                   ` (3 preceding siblings ...)
  2010-01-13  3:35 ` wenji dot huang at oracle dot com
@ 2010-02-26  2:23 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2010-02-26  2:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-02-26 02:23 -------
committed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10493

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2010-02-26  2:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-06 22:26 [Bug runtime/10493] New: runtime/time.c: need autoconf for cpu_khz fche at redhat dot com
2009-08-07  9:42 ` [Bug runtime/10493] " wenji dot huang at oracle dot com
2009-08-07 18:04 ` fche at redhat dot com
2010-01-12  9:18 ` wenji dot huang at oracle dot com
2010-01-13  3:35 ` wenji dot huang at oracle dot com
2010-02-26  2:23 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).