|
@@ -77,7 +77,7 @@ ifdef ARCH_LIN |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
perf: $(TARGET) |
|
|
perf: $(TARGET) |
|
|
# Requires gperftools |
|
|
|
|
|
|
|
|
# Requires perf |
|
|
perf record --call-graph dwarf -o perf.data ./$< -d |
|
|
perf record --call-graph dwarf -o perf.data ./$< -d |
|
|
# Analyze with hotspot (https://github.com/KDAB/hotspot) for example |
|
|
# Analyze with hotspot (https://github.com/KDAB/hotspot) for example |
|
|
hotspot perf.data |
|
|
hotspot perf.data |
|
|