Skip to content

Commit

Permalink
task-refs: fix maps parse bug
Browse files Browse the repository at this point in the history
meet below error when I run "sudo task-refs -p 1", so for demo I change
to use the temporary implementation, we can debug more on this later,
thanks.

parse failed: 4 /proc/1/maps
55a915c4d000-55a915d9b000 r-xp 00000000 fe:01 9310775                    /lib/systemd/systemd
  • Loading branch information
yuanyao authored and Fengguang Wu committed Sep 7, 2018
1 parent 29e7500 commit 31c7cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProcMaps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "ProcMaps.h"


#if 1
#if 0
static int parse_proc_maps(pid_t pid, std::vector<proc_maps_entry>& maps)
{
char filename[PATH_MAX];
Expand Down

0 comments on commit 31c7cb6

Please sign in to comment.