[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pljyyx68.fsf@ubik.fi.intel.com>
Date: Tue, 04 Feb 2025 09:41:03 +0200
From: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Peter Zijlstra
<peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>, Arnaldo Carvalho
de Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>, Mark
Rutland <mark.rutland@....com>, Jiri Olsa <jolsa@...nel.org>, Ian Rogers
<irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>, "Liang,
Kan" <kan.liang@...ux.intel.com>, alexander.shishkin@...ux.intel.com
Subject: Re: [PATCH] perf/core: move all of the pmu devices into their own
location
Greg Kroah-Hartman <gregkh@...uxfoundation.org> writes:
> In sysfs, for some reason, all pmu devices seem to show up in the "root"
> of /sys/devices/ making for a confusing mess as these devices are not
> really at the root of the system at all.
>
> Create a fake root devices, "pmu_bus" and place them all under there if
> they do not already have a parent device set, cleaning up sysfs to look
> more sane.
Yeah, so what happens to the userspace that uses them via /sys/devices/*
directly? Even I have scripts that do that.
Regards,
--
Alex
Powered by blists - more mailing lists