perf machine: Simplify accessing the host machine
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Dec 2012 12:04:24 +0000 (09:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:13 +0000 (16:40 -0300)
commit34ba5122bf198c9cdfcbecc9b23eaa414244a3f6
tree7793918dad08b64157ae66d605a3e5bd2b3abb1f
parent09ecbb07a5c9fa31dc72ee8fb1c3fbd1145448dd
perf machine: Simplify accessing the host machine

It is always there, no sense in calling a function named
"perf_session__find_host_machine".

Also no sense in checking if that function return is NULL, so ditch
needless error handling.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-a6a3zx3afbrxo8p2zqm5mxo8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kmem.c
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/session.c
tools/perf/util/session.h
This page took 0.025391 seconds and 5 git commands to generate.