On Mon, Feb 27, 2012 at 9:34 AM, Arie Middelkoop <[email protected]> wrote:
\
> I assume that you want to obtain all the code that is reachable from the
> "intel_setup_bios" function.

now *that* would be very powerful and it had not occurred to me that
it would be possible.

>You also seem to suggest that you want to apply
> transformations that will reduce these dependencies? E.g. when you eliminate
> a function call, it may very well turn out that you don't need the callee
> anymore. Is that correct?

Yes.

To provide more useful info, there is a very complex driver for the
Intel 915 graphics family (drivers/gpu/drm/i915). I need to extract
just the initialization code, nothing more. So, starting with two
functions, I want to extract the bare minimum of code needed to make
it work. I plan to do this incrementally, so to start first with with
intel_setup_bios.

Thanks

ron
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to