Messages in this thread Patch in this message | | | From | Yang Jihong <> | Subject | [PATCH v2 1/7] perf kwork: Add '--synth task' option for record | Date | Sat, 30 Jul 2022 11:03:29 +0800 |
| |
Since we don't need user space symbols, add '--synth task' option to skip costly synthesis.
Suggested-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Yang Jihong <yangjihong1@huawei.com> --- tools/perf/builtin-kwork.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tools/perf/builtin-kwork.c b/tools/perf/builtin-kwork.c index fb8c63656ad8..ff17711a554a 100644 --- a/tools/perf/builtin-kwork.c +++ b/tools/perf/builtin-kwork.c @@ -1631,6 +1631,10 @@ static int perf_kwork__record(struct perf_kwork *kwork, "-R", "-m", "1024", "-c", "1", + /* + * Skip synthesis as we do not need user space symbols. + */ + "--synth", "task", }; rec_argc = ARRAY_SIZE(record_args) + argc - 1; -- 2.30.GIT
| |