Skip to content

trace-vmscan-postprocess: fix parsing and output

Florian Schmidt linux-doc lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Added "Fixes:" lines to commit meessage in patch 1
* Fixed a spacing issue in patch 2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2trace-vmscan-postprocess: sync with tracepoints updatesDocumentation/trace/postprocess/trace-vmscan-postprocess.pl+11 -120 replies
2/2trace-vmscan-postprocess: fix output table spacingDocumentation/trace/postprocess/trace-vmscan-postprocess.pl+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] trace-vmscan-postprocess: fix parsing and output

This patch series updates trace-vmscan-postprocess.pl to work without throwing warnings and errors which stem from updates to several trace points.

3481c37ffa1d ("mm/vmscan: drop may_writepage and classzone_idx from direct reclaim begin template") removed "may_writepage" from mm_vmscan_direct_reclaim_begin, and 3b775998eca7 ("include/trace/events/vmscan.h: drop zone id from kswapd tracepoints") removed "zid" from mm_vmscan_wakeup_kswapd. The output of mm_vmscan_lru_isolate and mm_vmscan_lru_shrink_active seems to never have matched the format of the trace point output since they were created, or at least for as long as I can tell. Patch 1 aligns the format parsing of the perl script with the current output of the trace points.

In addition, the tables that are printed by the script were not properly aligned any more, so patch 2 fixes the spacing.

Changes since v1:
* Added "Fixes:" lines to commit meessage in patch 1
* Fixed a spacing issue in patch 2

Florian Schmidt (2):
trace-vmscan-postprocess: sync with tracepoints updates
trace-vmscan-postprocess: fix output table spacing

 .../postprocess/trace-vmscan-postprocess.pl   | 29 +++++++++----------
 1 file changed, 14 insertions(+), 15 deletions(-)
Signature · 1 line
2.23.0