[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9d105236-a591-4f6e-84db-75e5d1d6fe36@amd.com>
Date: Thu, 19 Dec 2024 16:26:31 +0530
From: Ravi Bangoria <ravi.bangoria@....com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: "mingo@...nel.org" <mingo@...nel.org>,
"lucas.demarchi@...el.com" <lucas.demarchi@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"willy@...radead.org" <willy@...radead.org>,
"acme@...nel.org" <acme@...nel.org>,
"namhyung@...nel.org" <namhyung@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"alexander.shishkin@...ux.intel.com" <alexander.shishkin@...ux.intel.com>,
"jolsa@...nel.org" <jolsa@...nel.org>,
"irogers@...gle.com" <irogers@...gle.com>,
"adrian.hunter@...el.com" <adrian.hunter@...el.com>,
"kan.liang@...ux.intel.com" <kan.liang@...ux.intel.com>,
Ravi Bangoria <ravi.bangoria@....com>
Subject: Re: [PATCH 19/19] perf: Make perf_pmu_unregister() useable
>> How did you test; perf-fuzzer or something?
>
> Prepared a simple test that does pmu register(), unregister() and
> "perf record" in parallel. It's quite dirty, I'll clean it up and
> share it here.
Attaching the testsuite here.
It contains:
- Kernel module that allows user to register and unregister a pmu
- Shell script to that runs "perf record" on test pmu
- README explains how to run the test
Thanks,
Ravi
View attachment "_tinypmu-u-register.sh" of type "text/plain" (262 bytes)
View attachment "_tinypmu-u-unregister.sh" of type "text/plain" (264 bytes)
View attachment "Makefile" of type "text/plain" (314 bytes)
View attachment "README" of type "text/plain" (445 bytes)
View attachment "tinypmu-k.c" of type "text/plain" (4621 bytes)
View attachment "tinypmu-u.sh" of type "text/plain" (629 bytes)
View attachment "tinypmu-u-events.sh" of type "text/plain" (262 bytes)
Powered by blists - more mailing lists