You are not logged in.

#1 2017-05-02 04:32:23

martyg
Member
Registered: 2015-04-02
Posts: 4

Tracing modprobe Invocations

I have observed frequent modprobe invocations correlated to transmission (BitTorrent) daemon activity.
Frequency is on about the order of 3-6 every 10 seconds, and only occurs while data is being transferred.

I would like to trace where these invocations are coming from, and associated parameters/arguments.

What tool should I use for this?
My attempts to use strace didn't get anywhere (I suspect the trigger is from the network)
Is there a way to force information into the logs every time modprobe is invoked?

Can someone point me in the right direction?  Thanks!

Offline

#2 2017-05-02 12:27:21

seth
Member
Registered: 2012-09-03
Posts: 50,009

Re: Tracing modprobe Invocations

Module loading happens on demand. If a userspace tool makes call to some I/O which requires some module to work, the module will just be loaded (unless blacklisted)
Modprobe only logs errors, but that should already include what (and possibly why it) failed.

export MODPROBE_OPTIONS=-v

in /etc/profile should record every action, but i'm not sure whether that's gonna help you.

Online

Board footer

Powered by FluxBB