@@ -23,6 +23,8 @@ TRACE_EVENT(damon_aggregated,
__field(unsigned long, end)
__field(unsigned int, nr_accesses)
__field(unsigned int, age)
+ __field(unsigned long, local)
+ __field(unsigned long, remote)
),
TP_fast_assign(
@@ -32,12 +34,15 @@ TRACE_EVENT(damon_aggregated,
__entry->end = r->ar.end;
__entry->nr_accesses = r->nr_accesses;
__entry->age = r->age;
+ __entry->local = r->local;
+ __entry->remote = r->remote;
),
- TP_printk("target_id=%lu nr_regions=%u %lu-%lu: %u %u",
+ TP_printk("target_id=%lu nr_regions=%u %lu-%lu: %u %u %lu %lu",
__entry->target_id, __entry->nr_regions,
__entry->start, __entry->end,
- __entry->nr_accesses, __entry->age)
+ __entry->nr_accesses, __entry->age,
+ __entry->local, __entry->remote)
);
#endif /* _TRACE_DAMON_H */