March 2018
Intermediate to advanced
276 pages
7h 11m
English
To dive into a subsystem we exclude all code contributions except the ones that touch the drivers/gpu module. This is straightforward, as git log already implements the functionality we need. We just need to specify an optional path, as shown in the following shell command:
| | adam$ git log --format=format: --name-only --after=2016-01-01 \ |
| | -- drivers/gpu/ | sort | uniq -c | sort -r | head -5 |
| | 542 drivers/gpu/drm/i915/intel_display.c |
| | 503 drivers/gpu/drm/i915/i915_drv.h |
| | 343 drivers/gpu/drm/i915/i915_gem.c |
| | 240 drivers/gpu/drm/i915/intel_drv.h |
| | 235 drivers/gpu/drm/i915/intel_pm.c |
The argument -- drivers/gpu/ instructs git log to show only commits ...
Read now
Unlock full access