~ [ source navigation ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/power/cpupower/bindings/python/

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Name Size Last modified (GMT) Description
Back Parent directory 2024-11-11 14:31:23
File Makefile 1364 bytes 2024-11-11 14:31:23
File README 1386 bytes 2024-11-11 14:31:23
File raw_pylibcpupower.swg 6105 bytes 2024-11-11 14:31:23
File test_raw_pylibcpupower.py 1040 bytes 2024-11-11 14:31:23

  1 This folder contains the necessary files to build the Python bindings for
  2 libcpupower (aside from the libcpupower object files).
  3 
  4 
  5 requirements
  6 ------------
  7 
  8 * You need the object files in the libcpupower directory compiled by
  9 cpupower's makefile.
 10 * The SWIG program must be installed.
 11 * The Python's development libraries installed.
 12 
 13 Please check that your version of SWIG is compatible with the version of Python
 14 installed on your machine by checking the SWIG changelog on their website.
 15 https://swig.org/
 16 
 17 Note that while SWIG itself is GPL v3+ licensed; the resulting output,
 18 the bindings code: is permissively licensed + the license of libcpupower's .o
 19 files. For these bindings that means GPL v2.
 20 
 21 Please see https://swig.org/legal.html and the discussion [1] for more details.
 22 
 23 [1]
 24 https://lore.kernel.org/linux-pm/Zqv9BOjxLAgyNP5B@hatbackup/
 25 
 26 
 27 build
 28 -----
 29 
 30 Install SWIG and the Python development files provided by your distribution.
 31 
 32 Build the object files for libcpupower by running make in the cpupower
 33 directory.
 34 
 35 Return to the directory this README is in to run:
 36 
 37 $ make
 38 
 39 
 40 testing
 41 -------
 42 
 43 Please verify the _raw_pylibcpupower.so and raw_pylibcpupower.py files have
 44 been created.
 45 
 46 To run the test script:
 47 
 48 $ python test_raw_pylibcpupower.py
 49 
 50 
 51 credits
 52 -------
 53 
 54 Original Bindings Author:
 55 John B. Wyatt IV
 56 jwyatt@redhat.com
 57 sageofredondo@gmail.com
 58 
 59 Copyright (C) 2024 Red Hat

~ [ source navigation ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php