Add ability to keep track of callers of symbol_(get|put) ? (take2)

From: Matthieu Bec
Date: Thu May 09 2013 - 18:46:41 EST



I came into the situation previously reported as "[RFC PATCH 1/3] Add ability to keep track of callers of symbol_(get|put)"

The thread is here - https://lkml.org/lkml/2007/3/9/519

A patch was submitted back then. Maybe it drop off the radar?

On 3.8.11 kernel, I find that

- for symbol_get, the 'holder' field of the resolved symbol's module does not update. mild annoyance IMHO

- for symbol_put, when ref. count reaches 0, there is no 'rmmod' equivalent so it just stays there in memory. That somewhat seemed less deliberate?

Regards
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/