#ifndef __PERF_ENV_H #define __PERF_ENV_H #include #include "cpumap.h" struct cpu_topology_map { int socket_id; int core_id; }; struct cpu_cache_level { u32 level; u32 line_size; u32 sets; u32 ways; char *type; char *size; char *map; }; struct numa_node { u32 node; u64 mem_total; u64 mem_free; struct cpu_map *map; }; struct perf_env { char *hostname; char *os_release; char *version; char *arch; int nr_cpus_online; int nr_cpus_avail; char *cpu_desc; char *cpuid; unsigned long long total_mem; unsigned int msr_pmu_type; int nr_cmdline; int nr_sibling_cores; int nr_sibling_threads; int nr_numa_nodes; int nr_pmu_mappings; int nr_groups; char *cmdline; const char **cmdline_argv; char *sibling_cores; char *sibling_threads; char *pmu_mappings; struct cpu_topology_map *cpu; struct cpu_cache_level *caches; int caches_cnt; struct numa_node *numa_nodes; }; extern struct perf_env perf_env; void perf_env__exit(struct perf_env *env); int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); int perf_env__read_cpu_topology_map(struct perf_env *env); void cpu_cache_level__free(struct cpu_cache_level *cache); #endif /* __PERF_ENV_H */ elect> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Expand)AuthorFilesLines
2017-02-09openvswitch: Add force commit.Jarno Rajahalme1-2/+24
2017-02-09openvswitch: Add original direction conntrack tuple to sw_flow_key.Jarno Rajahalme7-46/+227
2017-02-09openvswitch: Inherit master's labels.Jarno Rajahalme1-14/+31
2017-02-09openvswitch: Refactor labels initialization.Jarno Rajahalme1-42/+62
2017-02-09openvswitch: Simplify labels length logic.Jarno Rajahalme1-11/+9
2017-02-09openvswitch: Unionize ovs_key_ct_label with a u32 array.Jarno Rajahalme1-7/+8
2017-02-09openvswitch: Do not trigger events for unconfirmed connections.Jarno Rajahalme1-6/+22
2017-02-09openvswitch: Use inverted tuple in ovs_ct_find_existing() if NATted.Jarno Rajahalme1-2/+22
2017-02-09openvswitch: Fix comments for skb->_nfctJarno Rajahalme1-7/+7
2017-02-09net: dsa: Fix duplicate object ruleFlorian Fainelli1-1/+0
2017-02-09sctp: implement sender-side procedures for Add Incoming/Outgoing Streams Requ...Xin Long2-0/+106
2017-02-09sctp: add support for generating stream reconf add incoming/outgoing streams ...Xin Long1-0/+46
2017-02-09sctp: implement sender-side procedures for SSN/TSN Reset Request ParameterXin Long2-0/+69
2017-02-09sctp: add support for generating stream reconf ssn/tsn reset request chunkXin Long1-0/+29
2017-02-09sctp: streams should be recovered when it fails to send request.Xin Long1-2/+17
2017-02-08ipv4: fib: Notify about nexthop status changesIdo Schimmel1-0/+33
2017-02-08bridge: vlan tunnel id info range fill size calc cleanupsRoopa Prabhu1-18/+16
2017-02-08gro_cells: move to net/core/gro_cells.cEric Dumazet6-0/+100
2017-02-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller