[ltt-dev] ltt trace doesn't show event mm.page_alloc

Dany Madden dany4madden at gmail.com
Mon Jun 14 13:16:46 EDT 2010


Hi,

Ltt trace doesn't show mm.page_alloc event with the mainline kernel:

- mainline kernel 2.6.32.12
- patch-2.6.32.9-lttng-0.198
- ltt-control-0.79-01022010
- lttv-0.12.30-02102010

mm-trace.ko is loaded.

ltt-armall output shows
....
Connecting /sys/kernel/debug/ltt/markers/mm/wait_on_page_start
Connecting /sys/kernel/debug/ltt/markers/mm/wait_on_page_end
Connecting /sys/kernel/debug/ltt/markers/mm/huge_page_free
Connecting /sys/kernel/debug/ltt/markers/mm/huge_page_alloc
Connecting /sys/kernel/debug/ltt/markers/mm/page_free
Connecting /sys/kernel/debug/ltt/markers/mm/page_alloc
Connecting /sys/kernel/debug/ltt/markers/mm/swap_in
Connecting /sys/kernel/debug/ltt/markers/mm/swap_out
Connecting /sys/kernel/debug/ltt/markers/mm/swap_file_close
Connecting /sys/kernel/debug/ltt/markers/mm/swap_file_open
Connecting /sys/kernel/debug/ltt/markers/mm/add_to_page_cache
Connecting /sys/kernel/debug/ltt/markers/mm/remove_from_page_cache
...

These are the steps to recreate the problem:
% lttctl -C -w /tmp/trace4 trace4
% # ** run a program that does a lot of malloc and free
% lttctl -D trace4

# even mm.page_alloc is **not** showing in the trace
% lttv -m textDump --fatal -e event.name=mm.page_alloc -t /tmp/trace4
Trace set contains 1 traces

End trace set

# even mm.page_free is showing in the trace.
% lttv -m textDump --process_stats -e event.name=mm.page_free -t
/tmp/trace4
Trace set contains 1 traces
...
mm.page_free: 7334.057610863 (/tmp/trace4/mm_1), 6200, 6200, ./ltt_alloc, ,
4962, 0x0, SYSCALL { pfn = 487653, order = 0 }
mm.page_free: 7334.057612915 (/tmp/trace4/mm_1), 6200, 6200, ./ltt_alloc, ,
4962, 0x0, SYSCALL { pfn = 510031, order = 0 }
mm.page_free: 7334.057613190 (/tmp/trace4/mm_1), 6200, 6200, ./ltt_alloc, ,
4962, 0x0, SYSCALL { pfn = 510030, order = 0 }
...

Please help look at this problem.

Thanks!
Dany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100614/ac6d9260/attachment-0003.htm>


More information about the lttng-dev mailing list