Skip to contentSkip to conversation

Share common code between builtin-report, builtin-annotate

PATCH In review John Kacur 2 participants 2 messages Sep 24, 2009

lore
Share & tools
lore

John Kacur

author
#0 lore raw

cover Share common code between builtin-report, builtin-annotate

builtin-annotate.c started out largely as a copy of builtin-report.c In the meantime, fixes and enhancements have gone into builtin-report but not always into builtin-annotate

The goal here it to share code where possible. The first step is these three patches - more work is comming.

These three patches add util/sort.c and util/sort.h and move that functionality out of builtin-report and builtin-annotate.

#1 lore raw
Quoted 9 lines · John Kacur

builtin-annotate.c started out largely as a copy of builtin-report.c In the meantime, fixes and enhancements have gone into builtin-report but not always into builtin-annotate

The goal here it to share code where possible. The first step is these three patches - more work is comming.

These three patches add util/sort.c and util/sort.h and move that functionality out of builtin-report and builtin-annotate.

Very nice patches! I've applied them to tip:perf/core, thanks John.

Ingo