kernel_optimize_test/tools/perf
Kyle Meyer 0ac1dd5b4a perf timechart: Refactor svg_build_topology_map()
Exchange the parameters of svg_build_topology_map() with 'struct
perf_env *env' and adjust the function accordingly.

This patch should not change any behavior, it is merely refactoring for
the following patch.

Committer notes:

No need to include env.h from svghelper.h, all it needs is a forward
declaration for 'struct perf_env', so move the include directive to
svghelper.c, where it is really needed.

Signed-off-by: Kyle Meyer <kyle.meyer@hpe.com>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russ Anderson <russ.anderson@hpe.com>
Link: http://lore.kernel.org/lkml/20190827214352.94272-2-meyerk@stormcage.eag.rdlabs.hpecorp.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-29 17:38:31 -03:00
..
arch libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
bench Merge remote-tracking branch 'torvalds/master' into perf/core 2019-08-12 16:25:00 -03:00
Documentation perf report: Add --switch-on/--switch-off events 2019-08-16 12:14:33 -03:00
examples/bpf perf augmented_raw_syscalls: Reduce perf_event_output() boilerplate 2019-08-26 11:58:29 -03:00
include/bpf
jvmti
lib libperf: Move 'enum perf_user_event_type' to perf/event.h 2019-08-29 08:36:12 -03:00
pmu-events perf vendor events intel: Add Tremontx event file v1.02 2019-08-15 12:04:04 -03:00
python
scripts
tests libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
trace perf trace beauty ioctl: Fix off-by-one error in cmd->string table 2019-08-26 11:58:29 -03:00
ui perf script: Fix memory leaks in list_scripts() 2019-08-26 11:58:30 -03:00
util perf timechart: Refactor svg_build_topology_map() 2019-08-29 17:38:31 -03:00
.gitignore
Build
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c perf tools: Remove needless util.h include from builtin.h 2019-08-28 17:19:34 -03:00
builtin-buildid-list.c
builtin-c2c.c perf c2c: Display proper cpu count in nodes column 2019-08-29 17:38:31 -03:00
builtin-config.c
builtin-data.c
builtin-diff.c perf srcline: Add missing srcline.h header to files needing its defs 2019-08-26 11:58:29 -03:00
builtin-evlist.c
builtin-ftrace.c libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
builtin-help.c
builtin-inject.c
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c
builtin-record.c libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
builtin-report.c libperf: Add PERF_RECORD_HEADER_FEATURE 'struct feature_event' to perf/event.h 2019-08-29 08:36:12 -03:00
builtin-sched.c libperf: Add PERF_RECORD_LOST 'struct lost_event' to perf/event.h 2019-08-26 19:39:09 -03:00
builtin-script.c libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
builtin-stat.c libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
builtin-timechart.c perf timechart: Refactor svg_build_topology_map() 2019-08-29 17:38:31 -03:00
builtin-top.c perf top: Fix event group with more than two events 2019-08-28 18:15:03 -03:00
builtin-trace.c perf evlist: Remove needless util.h from evlist.h 2019-08-28 17:19:35 -03:00
builtin-version.c
builtin.h perf tools: Remove needless util.h include from builtin.h 2019-08-28 17:19:34 -03:00
check-headers.sh tools headers: Grab copy of linux/const.h, needed by linux/bits.h 2019-08-20 12:08:23 -03:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config perf tools: tools/include should come before tools/uapi/include 2019-08-20 12:07:22 -03:00
Makefile.perf tools build: Add capability-related feature detection 2019-08-12 17:14:14 -03:00
MANIFEST
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c perf tools: Remove needless util.h include from builtin.h 2019-08-28 17:19:34 -03:00
perf.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00