Re: exporting pmu data from perf_event_open.c
Dave Jones <[email protected]> Wed, 14 May 2014 11:43:26 -0400
| Newsgroups | org.kernel.vger.trinity |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 13, 2014 at 02:51:35PM -0400, Vince Weaver wrote: > I just finished syncing perf_fuzzer against the Trinity 1.4 codebase. > > It was a bit of a pain, but I guess still worth doing in order to > keep perf_event_open.c shared. > > I was wondering if you'd consider a patch like the following. > It exports the perf_event_open() pmus structure, that way perf_fuzzer can > pretty-print the pmu names. It would save a lot of code duplication. Sure, if it saves you work why not.. applied, with a munged changelog to change tenses :) Dave