aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYang Jihong <yangjihong1@huawei.com>2023-08-12 08:49:07 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-09-12 17:31:59 -0300
commit26b7254ff100fdc9f06eb8f5e2cd7424605fce2b (patch)
tree59829a526268a9f2710e048cc326a5a42f6ae012 /tools/perf/scripts/python
parentperf kwork: Overwrite original atom in the list when a new atom is pushed. (diff)
downloadlinux-26b7254ff100fdc9f06eb8f5e2cd7424605fce2b.tar.gz
linux-26b7254ff100fdc9f06eb8f5e2cd7424605fce2b.zip
perf kwork: Set default events list if not specified in setup_event_list()
Currently when no kwork event is specified, all events are configured by default. Now set to default event list string, which is more flexible and supports subsequent function extension. Also put setup_event_list() into each subcommand for different settings. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Yang Jihong <yangjihong1@huawei.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Sandipan Das <sandipan.das@amd.com> Link: https://lore.kernel.org/r/20230812084917.169338-7-yangjihong1@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions