ganadist

bootchart patch for embedded (android)

Feb 22nd, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.58 KB | None | 0 0
  1. --- bootchart-0.9/src/org/bootchart/parser/linux/ProcDiskStatParser.java~   2012-02-22 15:17:01.000000000 +0900
  2. +++ bootchart-0.9/src/org/bootchart/parser/linux/ProcDiskStatParser.java    2012-02-22 15:17:10.000000000 +0900
  3. @@ -44,7 +44,7 @@
  4.  public class ProcDiskStatParser {
  5.     private static final Logger log = Logger.getLogger(ProcDiskStatParser.class.getName());
  6.  
  7. -   private static final String DISK_REGEX = "hd.|sd.";
  8. +   private static final String DISK_REGEX = "hd.|sd.|mmcblk.";
  9.    
  10.     /** DiskStatSample encapsulates a /proc/diskstat sample. */
  11.     private static class DiskStatSample {
Advertisement
Add Comment
Please, Sign In to add comment