linux/tools/perf/util/scripting-engines
Arnaldo Carvalho de Melo 4ee3c4da8b perf scripting python: Do not build fail on deprecation warnings
First noticed with fedora:rawhide:

  48    11.10 fedora:rawhide                : FAIL gcc version 12.1.1 20220628 (Red Hat 12.1.1-3) (GCC)
    util/scripting-engines/trace-event-python.c: In function 'python_start_script':
    util/scripting-engines/trace-event-python.c:1899:9: error: 'PySys_SetArgv' is deprecated [-Werror=deprecated-declarations]
     1899 |         PySys_SetArgv(argc + 1, command_line);

No time now to address this warning, so don't make it an error, in time
we should either add yet more ifdefs to continue supporting older
systems or just convert to whatever new infra python put in place for
argv processing, sigh.

Acked-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-08-02 16:32:28 -03:00
..
Build perf scripting python: Do not build fail on deprecation warnings 2022-08-02 16:32:28 -03:00
trace-event-perl.c tools/perf: Add '__rel_loc' event field parsing support 2021-12-06 15:37:22 -05:00
trace-event-python.c perf script python: Add machine_pid and vcpu 2022-07-20 11:08:21 -03:00