]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf python tracepoint.py: Change the COMM using setproctitle if available
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Mar 2025 20:31:38 +0000 (17:31 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 18 Mar 2025 23:08:22 +0000 (16:08 -0700)
commita570da214819fa2bd26b8edcaf857867f55e60c5
treefbce840caa171ad65272be244ae503596e38f183
parent1882625c9113a3cf775dd46695466c80b922991d
perf python tracepoint.py: Change the COMM using setproctitle if available

Otherwise when debugging we see just "python" in perf, top, etc.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250312203141.285263-4-acme@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/python/tracepoint.py