 05. 李枫 用于 Linux 内核调试的 Python PyCon China Hangzhou 2019 Agenda I. Linux Kernel Debugging  Overview  eBPF  Development II. BCC  Overview  Development III. LISA  Overview  Internals https://elixir.bootlin.com/linux/latest/source 2) eBPF 2.1 BPF (Berkeley Packet Filter, aka cBPF)  https://en.wikipedia.org/wiki/Berkeley_Packet_Filter with-bpf Workflow  o Source: ebpfbasics-190611051559.pdf 2.2 eBPF (extended BPF)  since Linux Kernel v3.15 and ongoing  aims at being a universal in-kernel0 码力 | 63 页 | 4.07 MB | 1 年前3 05. 李枫 用于 Linux 内核调试的 Python PyCon China Hangzhou 2019 Agenda I. Linux Kernel Debugging  Overview  eBPF  Development II. BCC  Overview  Development III. LISA  Overview  Internals https://elixir.bootlin.com/linux/latest/source 2) eBPF 2.1 BPF (Berkeley Packet Filter, aka cBPF)  https://en.wikipedia.org/wiki/Berkeley_Packet_Filter with-bpf Workflow  o Source: ebpfbasics-190611051559.pdf 2.2 eBPF (extended BPF)  since Linux Kernel v3.15 and ongoing  aims at being a universal in-kernel0 码力 | 63 页 | 4.07 MB | 1 年前3
 PyConChina2022-上海-Python Profiling原理深入探索与实践-羿莉过Sampling_rate控制采样频率。 典型: Py-spy !"#$:%&'(-CPU EBPF Berkeley Packet Filter Event驱动 + Predefined Hooks = Pull System StackTrace 典型:pyroscrope 、 gprofiler Py-spy EBPF yKernelz{|m}~b•€•stack trace - py-spy instead0 码力 | 28 页 | 12.73 MB | 1 年前3 PyConChina2022-上海-Python Profiling原理深入探索与实践-羿莉过Sampling_rate控制采样频率。 典型: Py-spy !"#$:%&'(-CPU EBPF Berkeley Packet Filter Event驱动 + Predefined Hooks = Pull System StackTrace 典型:pyroscrope 、 gprofiler Py-spy EBPF yKernelz{|m}~b•€•stack trace - py-spy instead0 码力 | 28 页 | 12.73 MB | 1 年前3
 The Python Handbook
Enjoy! 3 The Python Handbook 1. Introduction to Python 2. Installing Python 3. Running Python programs 4. Python 2 vs Python 3 5. The basics of working with Python 5.1. Variable 5.2. Expressions tied to a specific type. 6 This has pros and cons. In particular we can mention that you write programs faster, but on the other hand you have less help from the tools to prevent possible bugs and you https://flaviocopes.com/python- installation-macos/. 3. Running Python programs There are a few different ways to run Python programs. In particular, you have a distinction between using interactive prompts0 码力 | 93 页 | 7.31 MB | 1 年前3 The Python Handbook
Enjoy! 3 The Python Handbook 1. Introduction to Python 2. Installing Python 3. Running Python programs 4. Python 2 vs Python 3 5. The basics of working with Python 5.1. Variable 5.2. Expressions tied to a specific type. 6 This has pros and cons. In particular we can mention that you write programs faster, but on the other hand you have less help from the tools to prevent possible bugs and you https://flaviocopes.com/python- installation-macos/. 3. Running Python programs There are a few different ways to run Python programs. In particular, you have a distinction between using interactive prompts0 码力 | 93 页 | 7.31 MB | 1 年前3
 Mypy 1.10.0+dev Documentationcorrectly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note Although mypy is production ready, there may be0 码力 | 318 页 | 270.84 KB | 1 年前3 Mypy 1.10.0+dev Documentationcorrectly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note Although mypy is production ready, there may be0 码力 | 318 页 | 270.84 KB | 1 年前3
 Mypy 1.8.0 Documentationcorrectly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note Although mypy is production ready, there may be0 码力 | 318 页 | 271.55 KB | 1 年前3 Mypy 1.8.0 Documentationcorrectly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note Although mypy is production ready, there may be0 码力 | 318 页 | 271.55 KB | 1 年前3
 Mypy 1.8.0 Documentationvariables and functions in your code correctly. With mypy, add type hints (PEP 484) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note: Although mypy is production ready, there may be0 码力 | 234 页 | 902.89 KB | 1 年前3 Mypy 1.8.0 Documentationvariables and functions in your code correctly. With mypy, add type hints (PEP 484) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note: Although mypy is production ready, there may be0 码力 | 234 页 | 902.89 KB | 1 年前3
 Mypy 1.10.0+dev Documentationvariables and functions in your code correctly. With mypy, add type hints (PEP 484) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note: Although mypy is production ready, there may be0 码力 | 234 页 | 913.89 KB | 1 年前3 Mypy 1.10.0+dev Documentationvariables and functions in your code correctly. With mypy, add type hints (PEP 484) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: number = input("What callable types, tuple types, union types, structural subtyping and more. Using mypy will make your programs easier to understand, debug, and maintain. Note: Although mypy is production ready, there may be0 码力 | 234 页 | 913.89 KB | 1 年前3
 Conda 4.6.0 Documentationsaves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language. Conda as a package manager helps compressed tarball file that contains system-level libraries, Python or other modules, executable programs and other components. Conda keeps track of the dependencies between packages and platforms. Conda default environment named base. You don’t want to put programs into your base environment, though. Create separate environments to keep your programs isolated from each other. 1. Create a new environment0 码力 | 190 页 | 728.67 KB | 8 月前3 Conda 4.6.0 Documentationsaves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language. Conda as a package manager helps compressed tarball file that contains system-level libraries, Python or other modules, executable programs and other components. Conda keeps track of the dependencies between packages and platforms. Conda default environment named base. You don’t want to put programs into your base environment, though. Create separate environments to keep your programs isolated from each other. 1. Create a new environment0 码力 | 190 页 | 728.67 KB | 8 月前3
 Conda 4.6.1 Documentationsaves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language. Conda as a package manager helps compressed tarball file that contains system-level libraries, Python or other modules, executable programs and other components. Conda keeps track of the dependencies between packages and platforms. Conda default environment named base. You don’t want to put programs into your base environment, though. Create separate environments to keep your programs isolated from each other. 1. Create a new environment0 码力 | 190 页 | 728.57 KB | 8 月前3 Conda 4.6.1 Documentationsaves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language. Conda as a package manager helps compressed tarball file that contains system-level libraries, Python or other modules, executable programs and other components. Conda keeps track of the dependencies between packages and platforms. Conda default environment named base. You don’t want to put programs into your base environment, though. Create separate environments to keep your programs isolated from each other. 1. Create a new environment0 码力 | 190 页 | 728.57 KB | 8 月前3
 Celery 3.0 Documentationsend monitoring messages (events) for actions occurring in the worker. These can be used by monitor programs like celery events, and Flower - the real-time Celery monitor, that you can read about in the Monitoring Command signals user_preload_options This signal is sent after any of the Celery command line programs are finished parsing the user preload options. It can be used to add additional command-line arguments Example worker bootstep • Consumer – Attributes – Methods • Installing Bootsteps • Command-line programs – Adding new command-line options – Adding new celery sub-commands • Worker API – Hub - The0 码力 | 703 页 | 2.60 MB | 1 年前3 Celery 3.0 Documentationsend monitoring messages (events) for actions occurring in the worker. These can be used by monitor programs like celery events, and Flower - the real-time Celery monitor, that you can read about in the Monitoring Command signals user_preload_options This signal is sent after any of the Celery command line programs are finished parsing the user preload options. It can be used to add additional command-line arguments Example worker bootstep • Consumer – Attributes – Methods • Installing Bootsteps • Command-line programs – Adding new command-line options – Adding new celery sub-commands • Worker API – Hub - The0 码力 | 703 页 | 2.60 MB | 1 年前3
共 205 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21














 
 