summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/top.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2012-11-11 23:20:50 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-14 16:51:40 -0300
commit6064803313bad9ae4cae233a9d56678adb2b6e7c (patch)
tree599a60fbd594921acc0357df2d01370c10e45fea /tools/perf/util/top.h
parent0020ce23864d16f66e5667013b8b43d1df3e142e (diff)
downloadop-kernel-dev-6064803313bad9ae4cae233a9d56678adb2b6e7c.zip
op-kernel-dev-6064803313bad9ae4cae233a9d56678adb2b6e7c.tar.gz
perf tools: Use sscanf for parsing /proc/pid/maps
When reading those files to synthesize MMAP events. It makes the code shorter and cleaner. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1352643651-13891-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/top.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud