Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207273
b: refs/heads/master
c: cf4dcc3
h: refs/heads/master
i:
  207271: 5d8e89e
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Aug 10, 2010
1 parent 5132289 commit c1c25fd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4dc4b3d971b23e12d483ba9f3b93b648c54b298a
refs/heads/master: cf4dcc3e9b374e1b61a7c22faf868707ce78d6a9
19 changes: 17 additions & 2 deletions trunk/include/trace/events/vmscan.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ TRACE_EVENT(mm_vmscan_wakeup_kswapd,
__entry->order)
);

TRACE_EVENT(mm_vmscan_direct_reclaim_begin,
DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_begin_template,

TP_PROTO(int order, int may_writepage, gfp_t gfp_flags),

Expand All @@ -110,7 +110,15 @@ TRACE_EVENT(mm_vmscan_direct_reclaim_begin,
show_gfp_flags(__entry->gfp_flags))
);

TRACE_EVENT(mm_vmscan_direct_reclaim_end,
DEFINE_EVENT(mm_vmscan_direct_reclaim_begin_template, mm_vmscan_direct_reclaim_begin,

TP_PROTO(int order, int may_writepage, gfp_t gfp_flags),

TP_ARGS(order, may_writepage, gfp_flags)
);


DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_end_template,

TP_PROTO(unsigned long nr_reclaimed),

Expand All @@ -127,6 +135,13 @@ TRACE_EVENT(mm_vmscan_direct_reclaim_end,
TP_printk("nr_reclaimed=%lu", __entry->nr_reclaimed)
);

DEFINE_EVENT(mm_vmscan_direct_reclaim_end_template, mm_vmscan_direct_reclaim_end,

TP_PROTO(unsigned long nr_reclaimed),

TP_ARGS(nr_reclaimed)
);

TRACE_EVENT(mm_vmscan_lru_isolate,

TP_PROTO(int order,
Expand Down

0 comments on commit c1c25fd

Please sign in to comment.