<commit_before>{% set name = "linux-perf" %}
{% set version = "6.0.9" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://cdn.kernel.org/pub/linux/kernel/v{{ version.split(".")[0] }}.x/linux-{{ version }}.tar.xz
  sha256: 6114a208e82739b4a1ab059ace35262be2a83be34cd1ae23cb8a09337db831c7

build:
  number: 0
  skip: true  # [not linux]

requirements:
  build:
    - {{ compiler('c') }}
    - sysroot_linux-64 2.17  # [linux64]
    - make
    - flex
    - bison
  host:
    - elfutils
    - binutils
    - libcap
    - libnuma
    - libunwind
    - libzlib
    - openssl
    - xz
    - zlib
    - zstd
    - python
    - setuptools
  run:
    - python

test:
  commands:
    - perf list
    - perf stat ls

about:
  home: https://www.kernel.org
  summary: Performance analysis tools for Linux
  description: |
    Performance counters for Linux are a new kernel-based subsystem that
    provide a framework for all things performance analysis. It covers hardware
    level (CPU/PMU, Performance Monitoring Unit) features and software features
    (software counters, tracepoints) as well.
  license: GPL-2.0-only
  license_file: LICENSES/preferred/GPL-2.0
  doc_url: https://docs.kernel.org/

extra:
  recipe-maintainers:
    - chrisburr
<commit_msg>Reduce perf tests due to docker permission issues<commit_after>{% set name = "linux-perf" %}
{% set version = "6.0.9" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://cdn.kernel.org/pub/linux/kernel/v{{ version.split(".")[0] }}.x/linux-{{ version }}.tar.xz
  sha256: 6114a208e82739b4a1ab059ace35262be2a83be34cd1ae23cb8a09337db831c7

build:
  number: 0
  skip: true  # [not linux]

requirements:
  build:
    - {{ compiler('c') }}
    - sysroot_linux-64 2.17  # [linux64]
    - make
    - flex
    - bison
  host:
    - elfutils
    - binutils
    - libcap
    - libnuma
    - libunwind
    - libzlib
    - openssl
    - xz
    - zlib
    - zstd
    - python
    - setuptools
  run:
    - python

test:
  commands:
    - perf list

about:
  home: https://www.kernel.org
  summary: Performance analysis tools for Linux
  description: |
    Performance counters for Linux are a new kernel-based subsystem that
    provide a framework for all things performance analysis. It covers hardware
    level (CPU/PMU, Performance Monitoring Unit) features and software features
    (software counters, tracepoints) as well.
  license: GPL-2.0-only
  license_file: LICENSES/preferred/GPL-2.0
  doc_url: https://docs.kernel.org/

extra:
  recipe-maintainers:
    - chrisburr

{'fraction_non_alphanumeric': 0.11575687185443283, 'fraction_numerical': 0.045683313975996905, 'mean_word_length': 2.6652482269503546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4865045', 'n_tokens_mistral': 979, 'n_tokens_neox': 908, 'n_words': 230}