[FIX] us probes: port SWAP to x86, kernel 3.8.2
authorAnastasia Lyupa <a.lyupa@samsung.com>
Tue, 23 Apr 2013 13:33:04 +0000 (17:33 +0400)
committerAnastasia Lyupa <a.lyupa@samsung.com>
Tue, 23 Apr 2013 13:33:04 +0000 (17:33 +0400)
commit7b12b58071efe021a7097c52c0e02ff508bfee4a
tree765d679a621986b09b3079e73a7314355db58f61
parent3fc1c8298f68d3a13ecac97f4068c1ccffb7d76b
[FIX] us probes: port SWAP to x86, kernel 3.8.2

Apply follow_page_mask and new get_user_pages_uprobe only for
LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) rather than
LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0).
On x86 it doesn't work with KERNEL_VERSION(3, 8, 2).
Test on test/resources/src/pthread/pthread.c
kprobe/dbi_kprobes_deps.c