On 08.03.22 01:06, Chen, Hongzhan wrote:
>>> +
>>> +  Please copy built libplugin_xenomai_schedparams.so to
>>> +  /usr/local/lib/traceevent/plugins/ or
>>> +  /usr/local/lib64/traceevent/plugins/ depending on your system.
>>> +  While libtracevent and its plugins is installed correctly, the plugins
>>> +  would be loaded automatically by other module such as libtracecmd after
>>> +  corresponding tracing tool run such as kernelshark or tracecmd.
>>
>> I should use the changes below to switch to pkg-config - that permits
>> control over the installation path as well.
>>
>> In addition, Xenomai should install the plugins properly, into the same 
>> folders as kernelshark and libtraceevent use.
> 
> Is that possible that it install just the plugin-ins when we execute make 
> install after build but do not install  Xenomai itself? Because Xenomai may 
> install
> cross platform not local machine and they have different targets.  Users may 
> just want to install plugins into its host but do not want to touch its 
> target Xenomai.  

Multiple options:

 - make -C tracing/... install
 - DESTDIR=... make install; cp DESTDIR/usr/lib/kernelshark/... target-folder
 - run packaging; apt install xenomai-kernelshark-plugin  

BTW, installation already works, just not into the right folders.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux

Reply via email to