linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 perf-tools-next] 'perf test python' fixes/improvements
@ 2024-11-04 17:59 Arnaldo Carvalho de Melo
  2024-11-04 17:59 ` [PATCH 1/2] perf test python: Robustify the 'perf test python' test case Arnaldo Carvalho de Melo
  2024-11-04 17:59 ` [PATCH 2/2] perf test: Don't build the python binding builtin test case with NO_LIBPYTHON=1 Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-11-04 17:59 UTC (permalink / raw)
  To: Namhyung Kim
  Cc: Ingo Molnar, Thomas Gleixner, Jiri Olsa, Ian Rogers,
	Adrian Hunter, Kan Liang, Clark Williams, linux-kernel,
	linux-perf-users, Arnaldo Carvalho de Melo, Athira Rajeev,
	Howard Chu, James Clark, Leo Yan, Thomas Richter,
	Veronika Molnarova

From: Arnaldo Carvalho de Melo <acme@redhat.com>

Hi,

	While evaluating what is needed for having shell tests that test
python functionality conditionally, i.e. so that we don't try to test
the python binding if NO_LIBPYTHON=1 is used, I stumbled into these
problems.

	The first patch its more for documenting that strange system()
behaviour and to check if this was something that would have
implications in other 'perf test' cases besides this python one, maybe
somebody will spot the problem, but at least it seems more compact now
using 'python -c inline-python-source'.

- Arnaldo

Arnaldo Carvalho de Melo (2):
  perf test python: Robustify the 'perf test python' test case
  perf test: Don't build the python binding builtin test case with NO_LIBPYTHON=1

 tools/perf/tests/Build          | 2 +-
 tools/perf/tests/builtin-test.c | 2 ++
 tools/perf/tests/python-use.c   | 4 ++--
 tools/perf/tests/tests.h        | 2 ++
 4 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.47.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-04 23:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 17:59 [PATCH 0/2 perf-tools-next] 'perf test python' fixes/improvements Arnaldo Carvalho de Melo
2024-11-04 17:59 ` [PATCH 1/2] perf test python: Robustify the 'perf test python' test case Arnaldo Carvalho de Melo
2024-11-04 20:59   ` Ian Rogers
2024-11-04 17:59 ` [PATCH 2/2] perf test: Don't build the python binding builtin test case with NO_LIBPYTHON=1 Arnaldo Carvalho de Melo
2024-11-04 21:02   ` Ian Rogers
2024-11-04 23:30   ` Namhyung Kim

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).