Google Summer of Code Project ideas for perf, the Linux profiling subsystem.
perf has two components:
perf has had various enhancements such as support for BPF.
Maintainers: Peter Zijlstra <peterz at infradead.org>, Ingo Molnar <mingo at redhat.com>, Arnaldo Carvalho de Melo <acme at kernel.org>
Mailing list: linux-perf-users at vger.kernel.org
IRC: #perf on irc.oftc.net
Code Licenses: mostly GPLv2
Mentor contacts: Ian Rogers <irogers+gsoc21 at google dot com>, Namhyung Kim <namhyung at kernel.org>
If you have your own ideas for how tracing and profiling can be improved in the Linux kernel and perf tool then these are welcomed.
perf report command will process an entire perf.data file before providing a visualization. This can be slow for large perf.data files. In contrast, the
perf top command will gather data in the background while providing a visualization. This project will look to break apart
perf report so that processing is performed on a background thread with the visualization periodically refreshing.
Perf has different user interfaces:
This project will look to improve the user interface experience with perf, for example, by upgrading the gtk2 code to use gtk4. The addition of other user interfaces would be an option for this project.
perf data command allows a perf.data file to be converted to other file formats, however, currently only CTF is supported. This project will look to add support for other file formats such as Firefox's Gecko profile format or Chrome's trace event format. By supporting conversion to these file formats visualization tools will be able to show a recorded perf.data file.
Large parts of the perf command are single threaded. As CPU core counts increase, this means that programming events can be slow and the command in general can be slower that it needs to be. This project will look to provide parallel approaches to processing perf data structures such as
evlist so that more concurrency happens within the perf command.