ipipe_read_tsc, ipipe_tsc2ns
Hello,
in a loadable kernel module i use ipipe_read_tsc and ipipe_tsc2ns. But at compiling i get follow warning.
WARNING: "__ipipe_kuser_tsc_freq" [km_testsample.ko] undefined!
we have ARM, Linux 3.0 + xenomai 2.6.2.1
Best reagards,
Johann
Quoted 8 lines · Johann Obermayr
Hello,
in a loadable kernel module i use
ipipe_read_tscandipipe_tsc2ns. But at compiling i get follow warning.WARNING: "
__ipipe_kuser_tsc_freq" [km_testsample.ko] undefined!we have ARM, Linux 3.0 + xenomai 2.6.2.1
These are I-pipe internal functions. You should be using Xenomai API:
- If developing a driver, you should be using rtdm_clock_read(),
- if using the deprecated kernel-space native API, rt_timer_tsc() / rt_timer_tsc2ns
- if using the deprecated kernel-space posix API, clock_gettime(CLOCK_MONOTONIC).
Signature · 2 lines
Gilles. https://click-hack.org
Quoted 6 lines · On Tue, 29 Sep 2015 14:38:58 +0200 Johann Obermayr…
in a loadable kernel module i use
ipipe_read_tscandipipe_tsc2ns. But at compiling i get follow warning.WARNING: "
__ipipe_kuser_tsc_freq" [km_testsample.ko] undefined!we have ARM, Linux 3.0 + xenomai 2.6.2.1
You should be able to resolve that linking problem by exporting the missing symbol.
Add a "EXPORT_SYMBOL_GPL(__ipipe_kuser_tsc_freq);" after its definition.
Henning
Quoted 6 lines · Henning Schild
Quoted 3 lines · On Tue, 29 Sep 2015 14:38:58 +0200 Johann Obermayr…
in a loadable kernel module i use
ipipe_read_tscandipipe_tsc2ns. But at compiling i get follow warning.
Quoted 7 lines
Quoted 3 lines
WARNING: "
__ipipe_kuser_tsc_freq" [km_testsample.ko] undefined!we have ARM, Linux 3.0 + xenomai 2.6.2.1
You should be able to resolve that linking problem by exporting the missing symbol.
Add a "EXPORT_SYMBOL_GPL(__ipipe_kuser_tsc_freq);" after its definition.
The functions ipipe_tsc2us/tsc2ns are really internal functions for the I-pipe tracer, I am not sure we want to expose this interface.
Signature · 2 lines
Gilles. https://click-hack.org