Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. --- /opt/intel/vtune_amplifier_xe/sepdk/src/vtsspp/collector.c 2014-08-05 23:12:19.000000000 +0200
  2. +++ collector.c 2015-01-31 12:24:17.793192007 +0100
  3. @@ -988,8 +988,8 @@
  4. TRACE("vtss_record_module() FAIL");
  5. }
  6. #ifdef CONFIG_X86_64
  7. - addr = (unsigned long)VSYSCALL_START;
  8. - size = (unsigned long)(VSYSCALL_MAPPED_PAGES * PAGE_SIZE);
  9. + addr = (unsigned long)VSYSCALL_ADDR;
  10. + size = (unsigned long)PAGE_SIZE;
  11. if (vtss_record_module(tskd->trnd_aux, 0, addr, size, "[vsyscall]", 0, cputsc, realtsc, SAFE)) {
  12. TRACE("vtss_record_module() FAIL");
  13. }
  14. --- /opt/intel/vtune_amplifier_xe/sepdk/src/vtsspp/user_vm.c 2014-08-05 23:12:19.000000000 +0200
  15. +++ user_vm.c 2015-01-31 12:24:17.793192007 +0100
  16. @@ -550,7 +550,7 @@
  17. kaddr += (CONFIG_PHYSICAL_START + (CONFIG_PHYSICAL_ALIGN - 1)) & ~(CONFIG_PHYSICAL_ALIGN - 1);
  18.  
  19. #ifdef CONFIG_X86_64
  20. - if ((ip >= VSYSCALL_START) && (ip < VSYSCALL_END))
  21. + if (ip == VSYSCALL_ADDR)
  22. return 1; /* [vsyscall] */
  23. else
  24. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement