#!/bin/sh # # stackcollapse.py can cover all type of perf samples including # the tracepoints, so no special record requirements, just record what # you want to analyze. # perf record "$@" 3T18:28:04Z perf namespaces: Avoid get_current_dir_name dependency 2025-10-03T18:28:04Z Ian Rogers irogers@google.com 2025-10-03T17:56:12Z urn:sha1:062d02a96d810d55afdc594ceeb52223d8b36b5c get_current_dir_name is a GNU extension not supported on, for example, Android. There is only one use of it so let's just switch to getcwd to avoid build and other complexity. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>