~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

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

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 ] ~

Diff markup

Differences between /tools/power/cpupower/bindings/python/README (Architecture i386) and /tools/power/cpupower/bindings/python/README (Architecture sparc64)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ 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