Advertisement
devinteske

mmreclaim.stp.patch

Jan 31st, 2017
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.86 KB | None | 0 0
  1. --- mmreclaim.stp.orig  2017-01-31 14:28:49.657192753 -0800
  2. +++ mmreclaim.stp   2017-01-31 15:50:15.881710615 -0800
  3. @@ -64,16 +64,16 @@ probe kernel.trace("mm_pagereclaim_pgout
  4.    t_pgout <<< 1
  5.  }
  6.  
  7. -probe kernel.{trace("mm_pagereclaim_shrinkactive_a2a"),
  8. -              trace("mm_pagereclaim_shrinkinactive_i2a")}? {
  9. +probe kernel.trace("mm_pagereclaim_shrinkactive_a2a")?,
  10. +              kernel.trace("mm_pagereclaim_shrinkinactive_i2a")? {
  11.    if (!log_event()) next
  12.    old_set_hits <<< 1
  13.    reactivate[pid()] <<< 1
  14.    t_reactivate <<< 1
  15.  }
  16.  
  17. -probe kernel.{trace("mm_pagereclaim_shrinkactive_a2i"),
  18. -              trace("mm_pagereclaim_shrinkinactive_i2i")}? {
  19. +probe kernel.trace("mm_pagereclaim_shrinkactive_a2i")?,
  20. +              kernel.trace("mm_pagereclaim_shrinkinactive_i2i")? {
  21.    if (!log_event()) next
  22.    old_set_hits <<< 1
  23.    deactivate[pid()] <<< 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement