Re: how to find when a symbol introduced into the kernel

From: Ben Nizette
Date: Sun Jun 15 2008 - 04:09:02 EST



On Sat, 2008-06-14 at 18:11 -0400, Zhaohui Wang wrote:
>
> Hi all
>
> To write multiple kernel version compatible programs, I need to know when a specific symbol (a struct or a function)were introduced in to the kernel tree
>
> Binary search against multiple kernel sources is a way,but is still slow.Is there any fast way to use modern git technology to make my life easier?
>

You can see the last time a line in a file was touched with git-blame;
that might help.

--Ben.
--
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/