public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* tsc_khz export problem
@ 2007-10-17  2:58 Wenji Huang
  2007-10-17 15:02 ` Masami Hiramatsu
  0 siblings, 1 reply; 4+ messages in thread
From: Wenji Huang @ 2007-10-17  2:58 UTC (permalink / raw)
  To: SystemTAP

Hi,

   In latest systemtap source, CONFIG_TSC_KHZ is added. But, find one 
problem about tsc_khz.
-----------------------------------------------------
               kernel              exported    declaration(tsc.h)
    i386       2.6.18 - 2.6.22         no         yes
    i386        2.6.23                yes         yes

    x86_64     2.6.22                 yes         yes
    x86_64     2.6.23                 yes         yes
------------------------------------------------------
So, for i386. in 2.6.18 - 2.6.22.  There will be an error reporting 
"Unknown symbol tsc_khz" when executing any stap script.

Regards,
wenji



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

* Re: tsc_khz export problem
  2007-10-17  2:58 tsc_khz export problem Wenji Huang
@ 2007-10-17 15:02 ` Masami Hiramatsu
  2007-10-18  1:18   ` Wenji Huang
  0 siblings, 1 reply; 4+ messages in thread
From: Masami Hiramatsu @ 2007-10-17 15:02 UTC (permalink / raw)
  To: Wenji Huang; +Cc: SystemTAP

Hi Wenji,

Thank you so much for reporting it.
In that case, compilation of autoconf-tsc-khz.c must be failed.

Wenji Huang wrote:
> Hi,
> 
>    In latest systemtap source, CONFIG_TSC_KHZ is added. But, find one 
> problem about tsc_khz.
> -----------------------------------------------------
>                kernel              exported    declaration(tsc.h)
>     i386       2.6.18 - 2.6.22         no         yes
>     i386        2.6.23                yes         yes
> 
>     x86_64     2.6.22                 yes         yes
>     x86_64     2.6.23                 yes         yes
> ------------------------------------------------------
> So, for i386. in 2.6.18 - 2.6.22.  There will be an error reporting 
> "Unknown symbol tsc_khz" when executing any stap script.
> 
> Regards,
> wenji
> 
> 
> 

Regards,

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com, masami.hiramatsu.pt@hitachi.com

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

* Re: tsc_khz export problem
  2007-10-17 15:02 ` Masami Hiramatsu
@ 2007-10-18  1:18   ` Wenji Huang
  2007-10-18  1:47     ` Wenji Huang
  0 siblings, 1 reply; 4+ messages in thread
From: Wenji Huang @ 2007-10-18  1:18 UTC (permalink / raw)
  To: Masami Hiramatsu; +Cc: SystemTAP

 Hi masami-san,

  But the error indeed occurs in my box (i386 - 2.6.22.1/2.6.22.9).
  For any script, the compilation pass since there is extern declaration 
of tsc_khz in tsc.h.
  Finally fail in loading modules.

Regards,
Wenji

Masami Hiramatsu wrote:

>Hi Wenji,
>
>Thank you so much for reporting it.
>In that case, compilation of autoconf-tsc-khz.c must be failed.
>
>Wenji Huang wrote:
>  
>
>>Hi,
>>
>>   In latest systemtap source, CONFIG_TSC_KHZ is added. But, find one 
>>problem about tsc_khz.
>>-----------------------------------------------------
>>               kernel              exported    declaration(tsc.h)
>>    i386       2.6.18 - 2.6.22         no         yes
>>    i386        2.6.23                yes         yes
>>
>>    x86_64     2.6.22                 yes         yes
>>    x86_64     2.6.23                 yes         yes
>>------------------------------------------------------
>>So, for i386. in 2.6.18 - 2.6.22.  There will be an error reporting 
>>"Unknown symbol tsc_khz" when executing any stap script.
>>
>>Regards,
>>wenji
>>
>>
>>
>>    
>>
>
>Regards,
>
>  
>

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

* Re: tsc_khz export problem
  2007-10-18  1:18   ` Wenji Huang
@ 2007-10-18  1:47     ` Wenji Huang
  0 siblings, 0 replies; 4+ messages in thread
From: Wenji Huang @ 2007-10-18  1:47 UTC (permalink / raw)
  To: Masami Hiramatsu; +Cc: SystemTAP

Sorry for the noise, just update the source and find the change.
The error no longer occurs.

Thanks,
Wenji

Wenji Huang wrote:

> Hi masami-san,
>
>  But the error indeed occurs in my box (i386 - 2.6.22.1/2.6.22.9).
>  For any script, the compilation pass since there is extern 
> declaration of tsc_khz in tsc.h.
>  Finally fail in loading modules.
>
> Regards,
> Wenji
>
> Masami Hiramatsu wrote:
>
>> Hi Wenji,
>>
>> Thank you so much for reporting it.
>> In that case, compilation of autoconf-tsc-khz.c must be failed.
>>
>> Wenji Huang wrote:
>>  
>>
>>> Hi,
>>>
>>>   In latest systemtap source, CONFIG_TSC_KHZ is added. But, find one 
>>> problem about tsc_khz.
>>> -----------------------------------------------------
>>>               kernel              exported    declaration(tsc.h)
>>>    i386       2.6.18 - 2.6.22         no         yes
>>>    i386        2.6.23                yes         yes
>>>
>>>    x86_64     2.6.22                 yes         yes
>>>    x86_64     2.6.23                 yes         yes
>>> ------------------------------------------------------
>>> So, for i386. in 2.6.18 - 2.6.22.  There will be an error reporting 
>>> "Unknown symbol tsc_khz" when executing any stap script.
>>>
>>> Regards,
>>> wenji
>>>
>>>
>>>
>>>   
>>
>>
>> Regards,
>>
>>  
>>
>

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

end of thread, other threads:[~2007-10-18  1:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-17  2:58 tsc_khz export problem Wenji Huang
2007-10-17 15:02 ` Masami Hiramatsu
2007-10-18  1:18   ` Wenji Huang
2007-10-18  1:47     ` Wenji Huang

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).