]> git.itanic.dy.fi Git - scan-pagemap/blobdiff - pagemap.h
parse_opts: Add new parse options
[scan-pagemap] / pagemap.h
index ee6bcc6203a54a0aa04792156febe4e51d500de8..c57f054bbfec898d250511b75a1daa728b0870c5 100644 (file)
--- a/pagemap.h
+++ b/pagemap.h
@@ -61,13 +61,14 @@ struct process {
        long int pages_swapped;
 };
 
-#define PARSE_PID      0x1
-#define PARSE_MAP_NAME 0x2
+#define PARSE_PID              0x1
+#define PARSE_MAP_NAME         0x2
+#define PARSE_PROCESS_NAME     0x4
 
 struct parse_opts {
        int parse_mask;
        int pid;
-       char *map_name;
+       char *name;
        int with_threads;
 };