linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] add performance reporting support to FPGA DFL drivers
@ 2019-06-27  5:09 Wu Hao
  2019-06-27  5:09 ` [PATCH v4 1/2] Documentation: fpga: dfl: add description for performance reporting support Wu Hao
  2019-06-27  5:09 ` [PATCH v4 2/2] fpga: dfl: fme: add " Wu Hao
  0 siblings, 2 replies; 5+ messages in thread
From: Wu Hao @ 2019-06-27  5:09 UTC (permalink / raw)
  To: mdf, linux-fpga, linux-kernel; +Cc: linux-api, gregkh, atull, Wu Hao

This patchset adds performance reporting support for FPGA DFL drivers. It
introduces one pmu to expose userspace interfaces via standard perf API.
User could use standard perf tool to access perf events exposed via pmu.

This patchset is splitted from patchset[1] for better review, and version 3
patch could be found here[2]. Please note that this patchset needs to be
applied on top of patchset[3][4].

Main changes from v3:
 - add more descriptions in doc, including how to use perf tool for these
   hardware counters. (patch #1)
 - use standard perf API instead of sysfs entries. (patch #2)

[1]https://lkml.org/lkml/2019/5/27/11
[2]https://lkml.org/lkml/2019/5/27/18
[3]https://lkml.org/lkml/2019/6/27/29
[4]https://lkml.org/lkml/2019/6/27/49

Wu Hao (1):
  fpga: dfl: fme: add performance reporting support

Xu Yilun (1):
  Documentation: fpga: dfl: add description for performance reporting
    support

 Documentation/fpga/dfl.txt  |  83 +++++
 drivers/fpga/Makefile       |   1 +
 drivers/fpga/dfl-fme-main.c |   4 +
 drivers/fpga/dfl-fme-perf.c | 871 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/fpga/dfl-fme.h      |   2 +
 5 files changed, 961 insertions(+)
 create mode 100644 drivers/fpga/dfl-fme-perf.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-28  0:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27  5:09 [PATCH v4 0/2] add performance reporting support to FPGA DFL drivers Wu Hao
2019-06-27  5:09 ` [PATCH v4 1/2] Documentation: fpga: dfl: add description for performance reporting support Wu Hao
2019-06-27  5:09 ` [PATCH v4 2/2] fpga: dfl: fme: add " Wu Hao
2019-06-27 16:53   ` Greg KH
2019-06-28  0:13     ` Wu Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).