* [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs @ 2023-06-28 10:53 James Clark 2023-06-28 10:53 ` [PATCH v1 1/1] " James Clark 2023-06-29 22:03 ` [PATCH v1 0/1] " Namhyung Kim 0 siblings, 2 replies; 7+ messages in thread From: James Clark @ 2023-06-28 10:53 UTC (permalink / raw) To: linux-perf-users, acme, masahiroy, leo.yan, broonie, Aishwarya.TCV Cc: James Clark, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim, Ian Rogers, Adrian Hunter, linux-kernel Changes since RFC: * Changed arch filename convention to use the ARCH= build time values instead of uname It seems like there were no objections on the RFC, apart from maybe changing the perf tests to run as a kself test. But that's probably not going to happen for a while, if ever, and these fragments can always be moved in that case. James Clark (1): perf tools: Add a place to put kernel config fragments for test runs tools/perf/tests/config-fragments/README | 7 +++++++ tools/perf/tests/config-fragments/arm64 | 1 + tools/perf/tests/config-fragments/config | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 tools/perf/tests/config-fragments/README create mode 100644 tools/perf/tests/config-fragments/arm64 create mode 100644 tools/perf/tests/config-fragments/config base-commit: ad5f604e186ac08d12c401e34ea96c09c38ddbc5 -- 2.34.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v1 1/1] perf tools: Add a place to put kernel config fragments for test runs 2023-06-28 10:53 [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs James Clark @ 2023-06-28 10:53 ` James Clark 2023-06-29 22:03 ` [PATCH v1 0/1] " Namhyung Kim 1 sibling, 0 replies; 7+ messages in thread From: James Clark @ 2023-06-28 10:53 UTC (permalink / raw) To: linux-perf-users, acme, masahiroy, leo.yan, broonie, Aishwarya.TCV Cc: James Clark, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim, Ian Rogers, Adrian Hunter, linux-kernel Defconfig doesn't give full coverage for a perf test run, so these can be merged with defconfig to do so. It's not complete yet, but is a starting point as a place to add to when a specific test needs something extra to run. Signed-off-by: James Clark <james.clark@arm.com> --- tools/perf/tests/config-fragments/README | 7 +++++++ tools/perf/tests/config-fragments/arm64 | 1 + tools/perf/tests/config-fragments/config | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 tools/perf/tests/config-fragments/README create mode 100644 tools/perf/tests/config-fragments/arm64 create mode 100644 tools/perf/tests/config-fragments/config diff --git a/tools/perf/tests/config-fragments/README b/tools/perf/tests/config-fragments/README new file mode 100644 index 000000000000..fe7de5d93674 --- /dev/null +++ b/tools/perf/tests/config-fragments/README @@ -0,0 +1,7 @@ +This folder is for kernel config fragments that can be merged with +defconfig to give full test coverage of a perf test run. This is only +an optimistic set as some features require hardware support in order to +pass and not skip. + +'config' is shared across all platforms, and for arch specific files, +the file name should match that used in the ARCH=... make option. diff --git a/tools/perf/tests/config-fragments/arm64 b/tools/perf/tests/config-fragments/arm64 new file mode 100644 index 000000000000..64c4ab17cd58 --- /dev/null +++ b/tools/perf/tests/config-fragments/arm64 @@ -0,0 +1 @@ +CONFIG_CORESIGHT_SOURCE_ETM4X=y diff --git a/tools/perf/tests/config-fragments/config b/tools/perf/tests/config-fragments/config new file mode 100644 index 000000000000..c340b3195fca --- /dev/null +++ b/tools/perf/tests/config-fragments/config @@ -0,0 +1,11 @@ +CONFIG_TRACEPOINTS=y +CONFIG_STACKTRACE=y +CONFIG_NOP_TRACER=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_FTRACE=y +CONFIG_FTRACE_SYSCALLS=y +CONFIG_BRANCH_PROFILE_NONE=y -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs 2023-06-28 10:53 [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs James Clark 2023-06-28 10:53 ` [PATCH v1 1/1] " James Clark @ 2023-06-29 22:03 ` Namhyung Kim 2023-06-30 8:04 ` James Clark 1 sibling, 1 reply; 7+ messages in thread From: Namhyung Kim @ 2023-06-29 22:03 UTC (permalink / raw) To: James Clark Cc: linux-perf-users, acme, masahiroy, leo.yan, broonie, Aishwarya.TCV, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter, linux-kernel Hi James, On Wed, Jun 28, 2023 at 3:53 AM James Clark <james.clark@arm.com> wrote: > > Changes since RFC: > > * Changed arch filename convention to use the ARCH= build time values > instead of uname > > It seems like there were no objections on the RFC, apart from maybe > changing the perf tests to run as a kself test. But that's probably not > going to happen for a while, if ever, and these fragments can always > be moved in that case. I missed the RFC, sorry. Could you please add a link for that? Thanks, Namhyung > > James Clark (1): > perf tools: Add a place to put kernel config fragments for test runs > > tools/perf/tests/config-fragments/README | 7 +++++++ > tools/perf/tests/config-fragments/arm64 | 1 + > tools/perf/tests/config-fragments/config | 11 +++++++++++ > 3 files changed, 19 insertions(+) > create mode 100644 tools/perf/tests/config-fragments/README > create mode 100644 tools/perf/tests/config-fragments/arm64 > create mode 100644 tools/perf/tests/config-fragments/config > > > base-commit: ad5f604e186ac08d12c401e34ea96c09c38ddbc5 > -- > 2.34.1 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs 2023-06-29 22:03 ` [PATCH v1 0/1] " Namhyung Kim @ 2023-06-30 8:04 ` James Clark 2023-07-28 10:48 ` James Clark 0 siblings, 1 reply; 7+ messages in thread From: James Clark @ 2023-06-30 8:04 UTC (permalink / raw) To: Namhyung Kim Cc: linux-perf-users, acme, masahiroy, leo.yan, broonie, Aishwarya.TCV, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter, linux-kernel On 29/06/2023 23:03, Namhyung Kim wrote: > Hi James, > > On Wed, Jun 28, 2023 at 3:53 AM James Clark <james.clark@arm.com> wrote: >> >> Changes since RFC: >> >> * Changed arch filename convention to use the ARCH= build time values >> instead of uname >> >> It seems like there were no objections on the RFC, apart from maybe >> changing the perf tests to run as a kself test. But that's probably not >> going to happen for a while, if ever, and these fragments can always >> be moved in that case. > > I missed the RFC, sorry. Could you please add a link for that? > > Thanks, > Namhyung Yep, it's here: https://lore.kernel.org/lkml/d02cce4a-47b1-a776-0d3a-a6a7c9a4d8fd@arm.com/T/ > > >> >> James Clark (1): >> perf tools: Add a place to put kernel config fragments for test runs >> >> tools/perf/tests/config-fragments/README | 7 +++++++ >> tools/perf/tests/config-fragments/arm64 | 1 + >> tools/perf/tests/config-fragments/config | 11 +++++++++++ >> 3 files changed, 19 insertions(+) >> create mode 100644 tools/perf/tests/config-fragments/README >> create mode 100644 tools/perf/tests/config-fragments/arm64 >> create mode 100644 tools/perf/tests/config-fragments/config >> >> >> base-commit: ad5f604e186ac08d12c401e34ea96c09c38ddbc5 >> -- >> 2.34.1 >> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs 2023-06-30 8:04 ` James Clark @ 2023-07-28 10:48 ` James Clark 2023-07-28 13:29 ` Arnaldo Carvalho de Melo 0 siblings, 1 reply; 7+ messages in thread From: James Clark @ 2023-07-28 10:48 UTC (permalink / raw) To: Namhyung Kim, acme@kernel.org Cc: linux-perf-users, masahiroy, leo.yan, broonie, Aishwarya.TCV, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter, linux-kernel On 30/06/2023 09:04, James Clark wrote: > > > On 29/06/2023 23:03, Namhyung Kim wrote: >> Hi James, >> >> On Wed, Jun 28, 2023 at 3:53 AM James Clark <james.clark@arm.com> wrote: >>> >>> Changes since RFC: >>> >>> * Changed arch filename convention to use the ARCH= build time values >>> instead of uname >>> >>> It seems like there were no objections on the RFC, apart from maybe >>> changing the perf tests to run as a kself test. But that's probably not >>> going to happen for a while, if ever, and these fragments can always >>> be moved in that case. >> >> I missed the RFC, sorry. Could you please add a link for that? >> >> Thanks, >> Namhyung > > Yep, it's here: > https://lore.kernel.org/lkml/d02cce4a-47b1-a776-0d3a-a6a7c9a4d8fd@arm.com/T/ > Hi Arnaldo, Any interest in taking this one? Thanks James >> >> >>> >>> James Clark (1): >>> perf tools: Add a place to put kernel config fragments for test runs >>> >>> tools/perf/tests/config-fragments/README | 7 +++++++ >>> tools/perf/tests/config-fragments/arm64 | 1 + >>> tools/perf/tests/config-fragments/config | 11 +++++++++++ >>> 3 files changed, 19 insertions(+) >>> create mode 100644 tools/perf/tests/config-fragments/README >>> create mode 100644 tools/perf/tests/config-fragments/arm64 >>> create mode 100644 tools/perf/tests/config-fragments/config >>> >>> >>> base-commit: ad5f604e186ac08d12c401e34ea96c09c38ddbc5 >>> -- >>> 2.34.1 >>> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs 2023-07-28 10:48 ` James Clark @ 2023-07-28 13:29 ` Arnaldo Carvalho de Melo 2023-07-28 13:59 ` James Clark 0 siblings, 1 reply; 7+ messages in thread From: Arnaldo Carvalho de Melo @ 2023-07-28 13:29 UTC (permalink / raw) To: James Clark Cc: Namhyung Kim, linux-perf-users, masahiroy, leo.yan, broonie, Aishwarya.TCV, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter, linux-kernel Em Fri, Jul 28, 2023 at 11:48:34AM +0100, James Clark escreveu: > > > On 30/06/2023 09:04, James Clark wrote: > > > > > > On 29/06/2023 23:03, Namhyung Kim wrote: > >> Hi James, > >> > >> On Wed, Jun 28, 2023 at 3:53 AM James Clark <james.clark@arm.com> wrote: > >>> > >>> Changes since RFC: > >>> > >>> * Changed arch filename convention to use the ARCH= build time values > >>> instead of uname > >>> > >>> It seems like there were no objections on the RFC, apart from maybe > >>> changing the perf tests to run as a kself test. But that's probably not > >>> going to happen for a while, if ever, and these fragments can always > >>> be moved in that case. > >> > >> I missed the RFC, sorry. Could you please add a link for that? > >> > >> Thanks, > >> Namhyung > > > > Yep, it's here: > > https://lore.kernel.org/lkml/d02cce4a-47b1-a776-0d3a-a6a7c9a4d8fd@arm.com/T/ > > > > Hi Arnaldo, > > Any interest in taking this one? Yeah, looks useful, we can go on from this starting point and improve it. I merged it into perf-tools-next. Thanks, - Arnaldo > Thanks > James > > >> > >> > >>> > >>> James Clark (1): > >>> perf tools: Add a place to put kernel config fragments for test runs > >>> > >>> tools/perf/tests/config-fragments/README | 7 +++++++ > >>> tools/perf/tests/config-fragments/arm64 | 1 + > >>> tools/perf/tests/config-fragments/config | 11 +++++++++++ > >>> 3 files changed, 19 insertions(+) > >>> create mode 100644 tools/perf/tests/config-fragments/README > >>> create mode 100644 tools/perf/tests/config-fragments/arm64 > >>> create mode 100644 tools/perf/tests/config-fragments/config > >>> > >>> > >>> base-commit: ad5f604e186ac08d12c401e34ea96c09c38ddbc5 > >>> -- > >>> 2.34.1 > >>> -- - Arnaldo ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs 2023-07-28 13:29 ` Arnaldo Carvalho de Melo @ 2023-07-28 13:59 ` James Clark 0 siblings, 0 replies; 7+ messages in thread From: James Clark @ 2023-07-28 13:59 UTC (permalink / raw) To: Arnaldo Carvalho de Melo Cc: Namhyung Kim, linux-perf-users, masahiroy, leo.yan, broonie, Aishwarya.TCV, Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter, linux-kernel On 28/07/2023 14:29, Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 28, 2023 at 11:48:34AM +0100, James Clark escreveu: >> >> >> On 30/06/2023 09:04, James Clark wrote: >>> >>> >>> On 29/06/2023 23:03, Namhyung Kim wrote: >>>> Hi James, >>>> >>>> On Wed, Jun 28, 2023 at 3:53 AM James Clark <james.clark@arm.com> wrote: >>>>> >>>>> Changes since RFC: >>>>> >>>>> * Changed arch filename convention to use the ARCH= build time values >>>>> instead of uname >>>>> >>>>> It seems like there were no objections on the RFC, apart from maybe >>>>> changing the perf tests to run as a kself test. But that's probably not >>>>> going to happen for a while, if ever, and these fragments can always >>>>> be moved in that case. >>>> >>>> I missed the RFC, sorry. Could you please add a link for that? >>>> >>>> Thanks, >>>> Namhyung >>> >>> Yep, it's here: >>> https://lore.kernel.org/lkml/d02cce4a-47b1-a776-0d3a-a6a7c9a4d8fd@arm.com/T/ >>> >> >> Hi Arnaldo, >> >> Any interest in taking this one? > > Yeah, looks useful, we can go on from this starting point and improve > it. > > I merged it into perf-tools-next. > > Thanks, > > - Arnaldo > Thanks Arnaldo! >> Thanks >> James >> >>>> >>>> >>>>> >>>>> James Clark (1): >>>>> perf tools: Add a place to put kernel config fragments for test runs >>>>> >>>>> tools/perf/tests/config-fragments/README | 7 +++++++ >>>>> tools/perf/tests/config-fragments/arm64 | 1 + >>>>> tools/perf/tests/config-fragments/config | 11 +++++++++++ >>>>> 3 files changed, 19 insertions(+) >>>>> create mode 100644 tools/perf/tests/config-fragments/README >>>>> create mode 100644 tools/perf/tests/config-fragments/arm64 >>>>> create mode 100644 tools/perf/tests/config-fragments/config >>>>> >>>>> >>>>> base-commit: ad5f604e186ac08d12c401e34ea96c09c38ddbc5 >>>>> -- >>>>> 2.34.1 >>>>> > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-28 13:59 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-06-28 10:53 [PATCH v1 0/1] perf tools: Add a place to put kernel config fragments for test runs James Clark 2023-06-28 10:53 ` [PATCH v1 1/1] " James Clark 2023-06-29 22:03 ` [PATCH v1 0/1] " Namhyung Kim 2023-06-30 8:04 ` James Clark 2023-07-28 10:48 ` James Clark 2023-07-28 13:29 ` Arnaldo Carvalho de Melo 2023-07-28 13:59 ` James Clark
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).