]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Introduce struct perf_target
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 26 Apr 2012 05:15:15 +0000 (14:15 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 May 2012 18:17:58 +0000 (15:17 -0300)
commit3ccb09844a5b50cb9f8e2ae8faf9e0e087c62518
tree0fe4a6fe7b287367b127ac7394086ff0c913588a
parent6d18ba88ab1579683357c21747cbff2e23a82b76
perf tools: Introduce struct perf_target

The perf_target struct will be used for taking care of cpu/thread maps
based on user's input. Since it is used on various subcommands it'd
better factoring it out.

Thanks to Arnaldo for suggesting the better name.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1335417327-11796-2-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-test.c
tools/perf/perf.h
tools/perf/util/evlist.c
tools/perf/util/evsel.c