linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/7] NumPy Interface for KernelShark
@ 2019-03-27 16:03 Yordan Karadzhov
  2019-03-27 16:03 ` [RFC 1/7] kernel-shark: kshark_string_config_alloc() must take no arguments Yordan Karadzhov
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Yordan Karadzhov @ 2019-03-27 16:03 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel, y.karadz

NumPy is an efficient multi-dimensional container of generic data.
It uses strong typing in order to provide fast data processing in
Python. The NumPy interface will allow sophisticated analysis of
tracing data via scripts, but it also opens the door for
exposing the kernel tracing data to the instruments provided by
the scientific toolkit of Python (matplotlib, scikit-learn) or
maybe even PyTorch and TensorFlow in the future.

Disclaimer: I am not very good in Python. Please check as carefully
as possible :-)

Yordan Karadzhov (7):
  kernel-shark: kshark_string_config_alloc() must take no arguments
  kernel-shark: Add new dataloading method to be used by the NumPu
    interface
  kernel-shark: Prepare for building the NumPy interface
  kernel-shark: Add the core components of the NumPy API
  kernel-shark: Add Numpy Interface for processing of tracing data
  kernel-shark: Add automatic building of the NumPy interface
  kernel-shark: Add basic example demonstrating the NumPy interface

 kernel-shark/CMakeLists.txt                 |   3 +
 kernel-shark/README                         |  12 +-
 kernel-shark/bin/sched_wakeup.py            |  96 +++++++
 kernel-shark/build/py/libkshark_wrapper.pyx | 264 ++++++++++++++++++++
 kernel-shark/build/py/np_setup.py           |  87 +++++++
 kernel-shark/build/py/pybuild.sh            |  26 ++
 kernel-shark/src/CMakeLists.txt             |  39 +++
 kernel-shark/src/libkshark-configio.c       |   2 +-
 kernel-shark/src/libkshark-py.c             | 176 +++++++++++++
 kernel-shark/src/libkshark.c                | 128 ++++++++++
 kernel-shark/src/libkshark.h                |   9 +-
 11 files changed, 838 insertions(+), 4 deletions(-)
 create mode 100755 kernel-shark/bin/sched_wakeup.py
 create mode 100644 kernel-shark/build/py/libkshark_wrapper.pyx
 create mode 100644 kernel-shark/build/py/np_setup.py
 create mode 100755 kernel-shark/build/py/pybuild.sh
 create mode 100644 kernel-shark/src/libkshark-py.c

-- 
2.19.1


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

end of thread, other threads:[~2019-04-05 10:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-27 16:03 [RFC 0/7] NumPy Interface for KernelShark Yordan Karadzhov
2019-03-27 16:03 ` [RFC 1/7] kernel-shark: kshark_string_config_alloc() must take no arguments Yordan Karadzhov
2019-03-27 16:19   ` Steven Rostedt
2019-03-27 16:03 ` [RFC 2/7] kernel-shark: Add new dataloading method to be used by the NumPu interface Yordan Karadzhov
2019-03-27 23:41   ` Slavomir Kaslev
2019-03-27 16:03 ` [RFC 3/7] kernel-shark: Prepare for building the NumPy interface Yordan Karadzhov
2019-03-27 16:03 ` [RFC 4/7] kernel-shark: Add the core components of the NumPy API Yordan Karadzhov
2019-03-27 22:53   ` Slavomir Kaslev
2019-03-27 16:03 ` [RFC 5/7] kernel-shark: Add Numpy Interface for processing of tracing data Yordan Karadzhov
2019-03-27 16:03 ` [RFC 6/7] kernel-shark: Add automatic building of the NumPy interface Yordan Karadzhov
2019-03-27 16:03 ` [RFC 7/7] kernel-shark: Add basic example demonstrating " Yordan Karadzhov
2019-03-27 23:25   ` Slavomir Kaslev
2019-03-28 12:47   ` Slavomir Kaslev
2019-04-05 10:10     ` Yordan Karadzhov (VMware)

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).