i915.ko authors, by the numbers

Because of some event I cannot remember, I was curious to see which developers had how many lines of code. It turned out to be more of a challenge than I thought (mostly because of Unicode). Here is the top 10 from the very latest drm-intel-nightly.

>./count_i915.py drivers/gpu/drm/i915/

total lines counted: 67417 (compare with git ls-files — ./drivers/gpu/drm/i915/ | xargs wc -l)
[(‘Jesse Barnes’, 16255),
(‘Chris Wilson’, 13174),
(‘Daniel Vetter’, 11066),
(‘Eugeni Dodonov’, 3636),
(‘Paulo Zanoni’, 3434),
(‘Ben Widawsky’, 2935),
(‘Eric Anholt’, 2176),
(‘Keith Packard’, 1773),
(‘Zhenyu Wang’, 1703),
(‘Ville Syrjälä’, 1130)]


And here is the slightly better than one-off script I used:

EDIT: The code pretty printer doesn’t like ” and therefore 3 instances were missing in the first post. I’ve actually copy/pasted the version from the blog now and run it.

Download PDF

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

This site uses Akismet to reduce spam. Learn how your comment data is processed.