aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJin Yao <yao.jin@linux.intel.com>2018-03-30 17:27:12 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-04-02 13:50:17 -0300
commit8e2c241f0c9768c589319ff48d007526465374d2 (patch)
tree95e27d901a1effaa2f65a9cda52a1eb11e0f5c53 /tools/perf/scripts/python/net_dropmonitor.py
parenttools include: Add config.h header file (diff)
downloadlinux-8e2c241f0c9768c589319ff48d007526465374d2.tar.gz
linux-8e2c241f0c9768c589319ff48d007526465374d2.zip
perf config: Add some new -DHAVE_XXX to CFLAGS
For most of libraries, in perf.config, they are recorded with -DHAVE_XXX in CFLAGS according to if the libraries are compiled-in. Then C code then will know if the library is compiled-in or not. While for glibc, no -DHAVE_GLIBC_SUPPORT exists. For python and perl libraries, only -DNO_PYTHON and -DNO_LIBPERL exist. To make the code more consistent, the patch creates -DHAVE_LIBPYTHON_SUPPORT and -DHAVE_LIBPERL_SUPPORT if the python and perl libraries are compiled-in. Since the existing flags -DNO_PYTHON and -DNO_LIBPERL are being used in many places in C code, this patch doesn't remove them. In a follow-up patch, we will recontruct the C code and then use HAVE_XXX instead. v3: Move 'CFLAGS += -DHAVE_LIBPYTHON_SUPPORT' and 'CFLAGS += -DHAVE_LIBPERL_SUPPORT' to other places to avoid duplicated feature checking. v2: Create -DHAVE_GLIBC_SUPPORT, -DHAVE_LIBPYTHON_SUPPORT and -DHAVE_LIBPERL_SUPPORT. Signed-off-by: Jin Yao <yao.jin@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jin Yao <yao.jin@intel.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1522402036-22915-3-git-send-email-yao.jin@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
Jacob Keller1-28/+25 2016-05-01i40e/i40evf: fix I40E_MASK signed shift overflow warningsJacob Keller2-2/+2 2016-05-01i40e/i40evf : Bump driver version from 1.5.5 to 1.5.10Harshitha Ramamurthy2-2/+2 2016-05-01i40e: Update device ids for X722Catherine Sullivan1-0/+1 2016-05-01i40e: Drop extra copy of functionJesse Brandeburg1-18/+0 2016-05-01i40e: Use consistent type for vf_idJesse Brandeburg3-9/+10 2016-05-01i40e: PTP - avoid aggregate return warningsJesse Brandeburg1-1/+2 2016-05-01i40e: Fix uninitialized variableCatherine Sullivan1-5/+1 2016-05-01i40evf: RSS Hash Option parametersCarolyn Wyborny1-199/+2 2016-05-01i40e: Remove HMC AQ API implementationNeerav Parikh5-88/+0 2016-05-01i40e: Prevent falling to promiscuous if the VF is not trustedAnjali Singhai Jain1-0/+6 2016-05-01i40e: Limit the number of MAC and VLAN addresses that can be added for VFsAnjali Singhai Jain2-2/+26 2016-05-01tipc: set 'active' state correctly for first established linkJon Paul Maloy1-0/+1 2016-05-01of: of_mdio: Check if MDIO bus controller is availableFlorian Fainelli1-0/+4 2016-05-01i40e: Change the default for VFs to be not privilegedAnjali Singhai Jain1-10/+10 2016-04-29net/mlx5e: Enabling aRFS mechanismMaor Gottlieb4-2/+127 2016-04-29net/mlx5e: Add accelerated RFS supportMaor Gottlieb2-1/+436 2016-04-29net/mlx5e: Create aRFS flow tablesMaor Gottlieb6-14/+313 2016-04-29net/mlx5: Initializing CPU reverse mappingMaor Gottlieb3-0/+24 2016-04-29net/mlx5e: Split the main flow steering tableMaor Gottlieb4-563/+462 2016-04-29net/mlx5e: Refactor mlx5e flow steering structsMaor Gottlieb5-154/+160 2016-04-29net/mlx5: Support different attributes for priorities in namespaceMaor Gottlieb1-12/+19 2016-04-29net/mlx5: Add user chosen levels when allocating flow tablesMaor Gottlieb6-40/+70 2016-04-29net/mlx5: Set number of allowed levels in priorityMaor Gottlieb2-30/+33 2016-04-29net/mlx5: Introduce modify flow rule destinationMaor Gottlieb2-2/+5 2016-04-29net/mlx5e: Direct TIR per RQTariq Toukan4-138/+191 2016-04-29net/mlx5e: Call vxlan_get_rx_port() with rtnl lockMatthew Finlay1-1/+4 2016-04-29net: ethernet: enc28j60: add device tree supportMichael Heimpold2-3/+76 2016-04-29net: ethernet: enc28j60: support half-duplex SPI controllersMichael Heimpold1-5/+9 2016-04-29net: constify is_skb_forwardable's argumentsNikolay Aleksandrov2-2/+3 2016-04-29ppp: add rtnetlink device creation supportGuillaume Nault2-3/+120 2016-04-29ppp: define reusable device creation functionsGuillaume Nault1-88/+118 2016-04-29net: ethernet: stmmac: update MDIO support for GMAC4Alexandre TORGUE1-4/+98 2016-04-29vxlan: fix initialization with custom link parametersJiri Benc1-4/+4 2016-04-29samples/bpf: like LLC also verify and allow redefining CLANG commandJesper Dangaard Brouer2-14/+17 2016-04-29samples/bpf: allow make to be run from samples/bpf/ directoryJesper Dangaard Brouer2-0/+11