]> 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)
commit90644300c057c295bec52895475bb5f17df96fbd
tree0527967ea44fd36f6e4628b88fab186e348f663a
parent3ee427c8d8e6242cbec53c5184bfcd367024de9d
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