PROFILE_mmap_XXX: more detailed mmap profiling

This commit is contained in:
Balazs Gerofi
2017-03-06 14:05:18 +09:00
parent d75be7228b
commit a256280118
3 changed files with 17 additions and 0 deletions

View File

@@ -34,7 +34,10 @@ struct profile_event {
enum profile_event_type {
PROFILE_page_fault = PROFILE_EVENT_MIN,
PROFILE_mpol_alloc_missed,
PROFILE_mmap_anon_contig_phys,
PROFILE_mmap_anon_no_contig_phys,
PROFILE_mmap_regular_file,
PROFILE_mmap_device_file,
PROFILE_EVENT_MAX /* Should be the last event type */
};