This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Function send_a_relocation()


On 03/01/2017 12:42 PM, Arkady wrote:
> I have though that a Python script is easier than compiling and packaging.
> It was a crazy idea, I agree.

I wouldn't even recompile 'staprun' and 'stapio'. You could probably
write a script to use yum/dnf to download the binary systemtap-runtime
rpm, expand it, grab the part you need, and create a new
'systemtap-mini-runtime' rpm.

> On Wed, Mar 1, 2017 at 8:26 PM, David Smith <dsmith@redhat.com> wrote:
>> On 03/01/2017 10:29 AM, Arkady wrote:
>>> There are some constraints I have to deal with in a commercial
>>> product. My goal is to reduce the number of dependencies when I am
>>> installing the driver generated by STAP. Replacing of
>>> systemtap_runtime package is one of the things I am considering.
>>
>> Hmm. Have you instead thought of creating a mini systemtap-runtime
>> package instead? If you are just running systemtap kernel modules and
>> don't need man pages, etc., you most likely don't need anything other
>> than 'staprun' and 'stapio' from the systemtap-runtime rpm. Those are 2
>> fairly small C executables.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]