]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Factor out copy_config_terms() and free_config_terms()
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 9 Sep 2021 12:55:07 +0000 (15:55 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 11 Sep 2021 19:00:13 +0000 (16:00 -0300)
commita0437d156ed5b0e6dcf03f6d72919aa7c1417b0e
tree0527967ea44fd36f6e4628b88fab186e348f663a
parent8be7e915efe04d205ed10b7dfc9a8a7cef405849
perf tools: Factor out copy_config_terms() and free_config_terms()

Factor out copy_config_terms() and free_config_terms() so that they can
be reused.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Link: https //lore.kernel.org/r/20210909125508.28693-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/evsel.h
tools/perf/util/parse-events.c