| Newsgroups |
gmane.comp.sysutils.pcp |
| Message-ID |
<[email protected]> |
--yabbadabbadoo
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
[performancecopilot/pcp] Pull request closed by natoscott ( https://github.=
com/natoscott ) :
#277 perfevent_pmda: Add PMU events exported from kernel ( https://github.=
com/performancecopilot/pcp/pull/277 )
The perfevent pmda gets the event definitions from the libpfm library. So,=
to add a new platform counter, we need to add its definition to the libpfm=
library and use it here. This patch is the first step towards removing tha=
t dependency. It parses the kernel exported PMUs and their events from /sys=
/bus/event_source/devices, and calculates the config values for each of the=
se events. However, we don't want to open all the events at once. Only the =
events which are mentioned in perfevent.conf under [dynamic] section will b=
e opened. But, all the dynamic events will be listed with pminfo. For e.g. =
: $ pminfo [...] perfevent.hwcounters.software.context-switches.dutycycle p=
erfevent.hwcounters.software.context-switches.value perfevent.hwcounters.so=
ftware.page-faults.dutycycle perfevent.hwcounters.software.page-faults.valu=
e [...] perfevent.hwcounters.power.energy-cores.dutycycle perfevent.hwcount=
ers.power.energy-cores.value perfevent.hwcounters.power.energy-ram.dutycycl=
e perfevent.hwcounters.power.energy-ram.value [...] perfevent.hwcounters.ms=
r.mperf.dutycycle perfevent.hwcounters.msr.mperf.value perfevent.hwcounters=
.msr.aperf.dutycycle perfevent.hwcounters.msr.aperf.value [...] perfevent.h=
wcounters.cpu.mem-stores.dutycycle perfevent.hwcounters.cpu.mem-stores.valu=
e perfevent.hwcounters.cpu.tx-capacity.dutycycle perfevent.hwcounters.cpu.t=
x-capacity.value perfevent.hwcounters.cpu.mem-loads.dutycycle perfevent.hwc=
ounters.cpu.mem-loads.value perfevent.hwcounters.cpu.branch-misses.dutycycl=
e perfevent.hwcounters.cpu.branch-misses.value [...]
Now, say only the event cpu.branch-instructions is mentioned under [dynami=
c] section in the perfevent.conf file. In this case, we can only read the v=
alues for this event, all other dynamic events are disabled and will return=
invalid value.
$ pmval perfevent.hwcounters.cpu.branch-misses.value
metric: perfevent.hwcounters.cpu.branch-misses.value host: <> semantics: c=
umulative counter (converting to rate) units: count (converting to count / =
sec) samples: all
cpu0 cpu1 cpu2 cpu3 3.028E+05 3.772E+05 3.757E+05 2.638E+05 4.382E+05 2.71=
6E+05 2.888E+05
cpu.mem-loads is not added in the perfevent.conf file, so we won't be able=
to get any values out of it, even though, we can see it under pminfo.
$ pmval perfevent.hwcounters.cpu.mem-loads.value
metric: perfevent.hwcounters.cpu.mem-loads.value host: <> semantics: cumul=
ative counter (converting to rate) units: count (converting to count / sec)=
samples: all No values available No values available
This patch also adds software events whose configuration values are availa=
ble under linux/perf_event.h : [...] perfevent.hwcounters.software.cpu-migr=
ations.dutycycle perfevent.hwcounters.software.cpu-migrations.value perfeve=
nt.hwcounters.software.context-switches.dutycycle perfevent.hwcounters.soft=
ware.context-switches.value perfevent.hwcounters.software.page-faults.dutyc=
ycle perfevent.hwcounters.software.page-faults.value [...]
---
9 New Commits:
[pcp:master] By Hemant Kumar <[email protected]>:
3224a0e9f8a5 ( https://github.com/performancecopilot/pcp/commit/3224a0e9f8=
a508712df09afe2853a19750d19e2e ) : perfevent_pmda: Add PMU events exported =
from kernel The perfevent pmda gets the event definitions from the libpfm l=
ibrary. So, to add a new platform counter, we need to add its definition to=
the libpfm library and use it here. This patch is the first step towards r=
emoving that dependency. It parses the kernel exported PMUs and their event=
s from /sys/bus/event_source/devices, and calculates the config values for =
each of these events. However, we don't want to open all the events at once=
. Only the events which are mentioned in perfevent.conf under [dynamic] sec=
tion will be opened. But, all the dynamic events will be listed with pminfo=
. For e.g. : $ pminfo [...] perfevent.hwcounters.software.context-switches.=
dutycycle perfevent.hwcounters.software.context-switches.value perfevent.hw=
counters.software.page-faults.dutycycle perfevent.hwcounters.software.page-=
faults.value [...] perfevent.hwcounters.power.energy-cores.dutycycle perfev=
ent.hwcounters.power.energy-cores.value perfevent.hwcounters.power.energy-r=
am.dutycycle perfevent.hwcounters.power.energy-ram.value [...] perfevent.hw=
counters.msr.mperf.dutycycle perfevent.hwcounters.msr.mperf.value perfevent=
.hwcounters.msr.aperf.dutycycle perfevent.hwcounters.msr.aperf.value [...] =
perfevent.hwcounters.cpu.mem-stores.dutycycle perfevent.hwcounters.cpu.mem-=
stores.value perfevent.hwcounters.cpu.tx-capacity.dutycycle perfevent.hwcou=
nters.cpu.tx-capacity.value perfevent.hwcounters.cpu.mem-loads.dutycycle pe=
rfevent.hwcounters.cpu.mem-loads.value perfevent.hwcounters.cpu.branch-miss=
es.dutycycle perfevent.hwcounters.cpu.branch-misses.value [...] Now, say on=
ly the event cpu.branch-instructions is mentioned under [dynamic] section i=
n the perfevent.conf file. In this case, we can only read the values for th=
is event, all other dynamic events are disabled and will return invalid val=
ue. $ pmval perfevent.hwcounters.cpu.branch-misses.value metric: perfevent.=
hwcounters.cpu.branch-misses.value host: <> semantics: cumulative counter (=
converting to rate) units: count (converting to count / sec) samples: all c=
pu0 cpu1 cpu2 cpu3 3.028E+05 3.772E+05 3.757E+05 2.638E+05 4.382E+05 2.716E=
+05 2.888E+05 cpu.mem-loads is not added in the perfevent.conf file, so we =
won't be able to get any values out of it, even though, we can see it under=
pminfo. $ pmval perfevent.hwcounters.cpu.mem-loads.value metric: perfevent=
.hwcounters.cpu.mem-loads.value host: <> semantics: cumulative counter (con=
verting to rate) units: count (converting to count / sec) samples: all No v=
alues available No values available This patch also adds software events wh=
ose configuration values are available under linux/perf_event.h. Signed-off=
-by: Hemant Kumar
Added: src/pmdas/perfevent/parse_events.c ( https://github.com/performance=
copilot/pcp/blob/master/src/pmdas/perfevent/parse_events.c )
Added: src/pmdas/perfevent/parse_events.h ( https://github.com/performance=
copilot/pcp/blob/master/src/pmdas/perfevent/parse_events.h )
Modified: src/pmdas/perfevent/GNUmakefile ( https://github.com/performance=
copilot/pcp/blob/master/src/pmdas/perfevent/GNUmakefile )
Modified: src/pmdas/perfevent/architecture.c ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/architecture.c )
Modified: src/pmdas/perfevent/architecture.h ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/architecture.h )
Modified: src/pmdas/perfevent/configparser.h ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/configparser.h )
Modified: src/pmdas/perfevent/configparser.l ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/configparser.l )
Modified: src/pmdas/perfevent/perfevent.conf ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/perfevent.conf )
Modified: src/pmdas/perfevent/perfinterface.c ( https://github.com/perform=
ancecopilot/pcp/blob/master/src/pmdas/perfevent/perfinterface.c )
Modified: src/pmdas/perfevent/perfinterface.h ( https://github.com/perform=
ancecopilot/pcp/blob/master/src/pmdas/perfevent/perfinterface.h )
Modified: src/pmdas/perfevent/pmda.c ( https://github.com/performancecopil=
ot/pcp/blob/master/src/pmdas/perfevent/pmda.c )
[pcp:master] By Hemant Kumar <[email protected]>:
2a4908b390c0 ( https://github.com/performancecopilot/pcp/commit/2a4908b390=
c0bfafee77e36148c449180c7a3ac2 ) : perfevent_pmda: Fix names for the perfev=
ent metrics for dynamic events Change the illegal names for the metrics by =
normalizing characters such as '-' to allowed character like '_'. Signed-of=
f-by: Hemant Kumar
Modified: src/pmdas/perfevent/pmda.c ( https://github.com/performancecopil=
ot/pcp/blob/master/src/pmdas/perfevent/pmda.c )
[pcp:master] By Hemant Kumar <[email protected]>:
72f3712fe1e2 ( https://github.com/performancecopilot/pcp/commit/72f3712fe1=
e218a719d9243e8b91103279c2c17e ) : perfevent_pmda: Fix a segfault found wit=
h a qa test Segfaulting if the config file doesn't have a dynamic event nam=
e (found with test : qa/perfevent/test_lots_of_counters). Signed-off-by: He=
mant Kumar
Modified: src/pmdas/perfevent/configparser.l ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/configparser.l )
[pcp:master] By Hemant Kumar <[email protected]>:
49a4f407de44 ( https://github.com/performancecopilot/pcp/commit/49a4f407de=
4480300a6f42247321d2c9a607a546 ) : perfevent_pmda: Fixups and adds testing =
mode Fixes bugs found with qa tests. Also, adds a prefix variable to distin=
guish between normal and testing mode. Signed-off-by: Hemant Kumar
Modified: src/pmdas/perfevent/parse_events.c ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/parse_events.c )
Modified: src/pmdas/perfevent/parse_events.h ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/parse_events.h )
[pcp:master] By Hemant Kumar <[email protected]>:
a6936c289471 ( https://github.com/performancecopilot/pcp/commit/a6936c2894=
7162dc2cb57dc7baa23a73aa42bd74 ) : qa/perfevent: Adds some tests for dynami=
c events Signed-off-by: Hemant Kumar
Added: qa/perfevent/config/test_dynamic_counters.txt ( https://github.com/=
performancecopilot/pcp/blob/master/qa/perfevent/config/test_dynamic_counter=
s.txt )
Modified: qa/perfevent/GNUmakefile ( https://github.com/performancecopilot=
/pcp/blob/master/qa/perfevent/GNUmakefile )
Modified: qa/perfevent/perf_event_test.c ( https://github.com/performancec=
opilot/pcp/blob/master/qa/perfevent/perf_event_test.c )
[pcp:master] By Hemant Kumar <[email protected]>:
3f7e7ac89d61 ( https://github.com/performancecopilot/pcp/commit/3f7e7ac89d=
61dcd66fd8df3320293a1f53ee5ac8 ) : doc/perfevent: Additional info regarding=
dynamic events Signed-off-by: Hemant Kumar
Modified: man/man1/pmdaperfevent.1 ( https://github.com/performancecopilot=
/pcp/blob/master/man/man1/pmdaperfevent.1 )
[pcp:master] By Nathan Scott <[email protected]>:
c479a91a05c2 ( https://github.com/performancecopilot/pcp/commit/c479a91a05=
c2452fbd7ed44783f855edd1d19ef4 ) : Merge branch 'dynamic_events' of https:/=
/github.com/hkshaw1990/pcp into hemant-merge
Added: qa/perfevent/config/test_dynamic_counters.txt ( https://github.com/=
performancecopilot/pcp/blob/master/qa/perfevent/config/test_dynamic_counter=
s.txt )
Added: src/pmdas/perfevent/parse_events.c ( https://github.com/performance=
copilot/pcp/blob/master/src/pmdas/perfevent/parse_events.c )
Added: src/pmdas/perfevent/parse_events.h ( https://github.com/performance=
copilot/pcp/blob/master/src/pmdas/perfevent/parse_events.h )
Modified: man/man1/pmdaperfevent.1 ( https://github.com/performancecopilot=
/pcp/blob/master/man/man1/pmdaperfevent.1 )
Modified: qa/perfevent/GNUmakefile ( https://github.com/performancecopilot=
/pcp/blob/master/qa/perfevent/GNUmakefile )
Modified: qa/perfevent/perf_event_test.c ( https://github.com/performancec=
opilot/pcp/blob/master/qa/perfevent/perf_event_test.c )
Modified: src/pmdas/perfevent/GNUmakefile ( https://github.com/performance=
copilot/pcp/blob/master/src/pmdas/perfevent/GNUmakefile )
Modified: src/pmdas/perfevent/architecture.c ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/architecture.c )
Modified: src/pmdas/perfevent/architecture.h ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/architecture.h )
Modified: src/pmdas/perfevent/configparser.h ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/configparser.h )
Modified: src/pmdas/perfevent/configparser.l ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/configparser.l )
Modified: src/pmdas/perfevent/perfevent.conf ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/perfevent.conf )
Modified: src/pmdas/perfevent/perfinterface.c ( https://github.com/perform=
ancecopilot/pcp/blob/master/src/pmdas/perfevent/perfinterface.c )
Modified: src/pmdas/perfevent/perfinterface.h ( https://github.com/perform=
ancecopilot/pcp/blob/master/src/pmdas/perfevent/perfinterface.h )
Modified: src/pmdas/perfevent/pmda.c ( https://github.com/performancecopil=
ot/pcp/blob/master/src/pmdas/perfevent/pmda.c )
[pcp:master] By Hemant Kumar <[email protected]>:
da1f3a25b761 ( https://github.com/performancecopilot/pcp/commit/da1f3a25b7=
61e867ce67805494ebf4e0f784ae9a ) : qa/perfevent: update fakefs and expected=
test output for new metrics Signed-off-by: Hemant Kumar
Modified: qa/756.out ( https://github.com/performancecopilot/pcp/blob/mast=
er/qa/756.out )
Modified: qa/perfevent/fakefs.tar.gz ( https://github.com/performancecopil=
ot/pcp/blob/master/qa/perfevent/fakefs.tar.gz )
[pcp:master] By Nathan Scott <[email protected]>:
02341eabb78a ( https://github.com/performancecopilot/pcp/commit/02341eabb7=
8aa014397a978c58728ae1dd597896 ) : pmdaperfevent: minor code inconsistency =
cleanup on review
Modified: debian/copyright ( https://github.com/performancecopilot/pcp/blo=
b/master/debian/copyright )
Modified: src/pmdas/perfevent/architecture.c ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/architecture.c )
Modified: src/pmdas/perfevent/architecture.h ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/architecture.h )
Modified: src/pmdas/perfevent/configparser.l ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/configparser.l )
Modified: src/pmdas/perfevent/parse_events.c ( https://github.com/performa=
ncecopilot/pcp/blob/master/src/pmdas/perfevent/parse_events.c )
--yabbadabbadoo
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
[performancecopilot/pcp] Pull request closed by <a href=3D"https://github.=
com/natoscott">natoscott</a>:<p>
<a href=3D"https://github.com/performancecopilot/pcp/pull/277">#277 perfev=
ent_pmda: Add PMU events exported from kernel</a><br>
<p>The perfevent pmda gets the event definitions from the libpfm
library. So, to add a new platform counter, we need to add its
definition to the libpfm library and use it here. This patch is the
first step towards removing that dependency. It parses the kernel
exported PMUs and their events from /sys/bus/event_source/devices, and
calculates the config values for each of these events. However, we don't
want to open all the events at once. Only the events which are mentioned
in perfevent.conf under [dynamic] section will be opened. But, all the
dynamic events will be listed with pminfo.
For e.g. :
$ pminfo
[...]
perfevent.hwcounters.software.context-switches.dutycycle
perfevent.hwcounters.software.context-switches.value
perfevent.hwcounters.software.page-faults.dutycycle
perfevent.hwcounters.software.page-faults.value
[...]
perfevent.hwcounters.power.energy-cores.dutycycle
perfevent.hwcounters.power.energy-cores.value
perfevent.hwcounters.power.energy-ram.dutycycle
perfevent.hwcounters.power.energy-ram.value
[...]
perfevent.hwcounters.msr.mperf.dutycycle
perfevent.hwcounters.msr.mperf.value
perfevent.hwcounters.msr.aperf.dutycycle
perfevent.hwcounters.msr.aperf.value
[...]
perfevent.hwcounters.cpu.mem-stores.dutycycle
perfevent.hwcounters.cpu.mem-stores.value
perfevent.hwcounters.cpu.tx-capacity.dutycycle
perfevent.hwcounters.cpu.tx-capacity.value
perfevent.hwcounters.cpu.mem-loads.dutycycle
perfevent.hwcounters.cpu.mem-loads.value
perfevent.hwcounters.cpu.branch-misses.dutycycle
perfevent.hwcounters.cpu.branch-misses.value
[...]</p>
<p>Now, say only the event cpu.branch-instructions is mentioned under
[dynamic] section in the perfevent.conf file. In this case, we can only
read the values for this event, all other dynamic events are disabled
and will return invalid value.</p>
<p>$ pmval perfevent.hwcounters.cpu.branch-misses.value</p>
<p>metric: perfevent.hwcounters.cpu.branch-misses.value
host: <>
semantics: cumulative counter (converting to rate)
units: count (converting to count / sec)
samples: all</p>
<pre><code> <span class=3D"pln">cpu0</span> <spa=
n class=3D"pln">cpu1</span> <span class=3D"pln">cpu2</span=
> <span class=3D"pln">cpu3</span>
<span class=3D"dec">3.028E+05</span> <span class=3D"de=
c">3.772E+05</span> <span class=3D"dec">3.757E+05</span> =
<span class=3D"dec">2.638E+05</span>
<span class=3D"dec">4.382E+05</span> <span class=3D"de=
c">2.716E+05</span> <span class=3D"dec">2.888E+05</span>
</code></pre>
<p>cpu.mem-loads is not added in the perfevent.conf file, so we won't be
able to get any values out of it, even though, we can see it under pminfo.=
</p>
<p>$ pmval perfevent.hwcounters.cpu.mem-loads.value</p>
<p>metric: perfevent.hwcounters.cpu.mem-loads.value
host: <>
semantics: cumulative counter (converting to rate)
units: count (converting to count / sec)
samples: all
No values available
No values available</p>
<p>This patch also adds software events whose configuration values are
available under linux/perf_event.h :
[...]
perfevent.hwcounters.software.cpu-migrations.dutycycle
perfevent.hwcounters.software.cpu-migrations.value
perfevent.hwcounters.software.context-switches.dutycycle
perfevent.hwcounters.software.context-switches.value
perfevent.hwcounters.software.page-faults.dutycycle
perfevent.hwcounters.software.page-faults.value
[...]</p>
<p>
<hr><p>
9 New Commits:
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/3224a0e9f8a508=
712df09afe2853a19750d19e2e">3224a0e9f8a5</a>: perfevent_pmda: Add PMU event=
s exported from kernel
The perfevent pmda gets the event definitions from the libpfm
library. So, to add a new platform counter, we need to add its
definition to the libpfm library and use it here. This patch is the
first step towards removing that dependency. It parses the kernel
exported PMUs and their events from /sys/bus/event_source/devices, and
calculates the config values for each of these events. However, we don't
want to open all the events at once. Only the events which are mentioned
in perfevent.conf under [dynamic] section will be opened. But, all the
dynamic events will be listed with pminfo.
For e.g. :
$ pminfo
[...]
perfevent.hwcounters.software.context-switches.dutycycle
perfevent.hwcounters.software.context-switches.value
perfevent.hwcounters.software.page-faults.dutycycle
perfevent.hwcounters.software.page-faults.value
[...]
perfevent.hwcounters.power.energy-cores.dutycycle
perfevent.hwcounters.power.energy-cores.value
perfevent.hwcounters.power.energy-ram.dutycycle
perfevent.hwcounters.power.energy-ram.value
[...]
perfevent.hwcounters.msr.mperf.dutycycle
perfevent.hwcounters.msr.mperf.value
perfevent.hwcounters.msr.aperf.dutycycle
perfevent.hwcounters.msr.aperf.value
[...]
perfevent.hwcounters.cpu.mem-stores.dutycycle
perfevent.hwcounters.cpu.mem-stores.value
perfevent.hwcounters.cpu.tx-capacity.dutycycle
perfevent.hwcounters.cpu.tx-capacity.value
perfevent.hwcounters.cpu.mem-loads.dutycycle
perfevent.hwcounters.cpu.mem-loads.value
perfevent.hwcounters.cpu.branch-misses.dutycycle
perfevent.hwcounters.cpu.branch-misses.value
[...]
Now, say only the event cpu.branch-instructions is mentioned under
[dynamic] section in the perfevent.conf file. In this case, we can only
read the values for this event, all other dynamic events are disabled
and will return invalid value.
$ pmval perfevent.hwcounters.cpu.branch-misses.value
metric: perfevent.hwcounters.cpu.branch-misses.value
host: <>
semantics: cumulative counter (converting to rate)
units: count (converting to count / sec)
samples: all
cpu0 cpu1 cpu2 =
cpu3
3.028E+05 3.772E+05 3.757E+05 =
2.638E+05
4.382E+05 2.716E+05 2.888E+05
cpu.mem-loads is not added in the perfevent.conf file, so we won't be
able to get any values out of it, even though, we can see it under pminfo.
$ pmval perfevent.hwcounters.cpu.mem-loads.value
metric: perfevent.hwcounters.cpu.mem-loads.value
host: <>
semantics: cumulative counter (converting to rate)
units: count (converting to count / sec)
samples: all
No values available
No values available
This patch also adds software events whose configuration values are
available under linux/perf_event.h.
Signed-off-by: Hemant Kumar <[email protected]><p>
Added: <a href=3D"https://github.com/performancecopilot/pcp/blob/master/sr=
c/pmdas/perfevent/parse_events.c">src/pmdas/perfevent/parse_events.c</a><br=
>
Added: <a href=3D"https://github.com/performancecopilot/pcp/blob/master/sr=
c/pmdas/perfevent/parse_events.h">src/pmdas/perfevent/parse_events.h</a><br=
>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/GNUmakefile">src/pmdas/perfevent/GNUmakefile</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/architecture.c">src/pmdas/perfevent/architecture.c</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/architecture.h">src/pmdas/perfevent/architecture.h</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/configparser.h">src/pmdas/perfevent/configparser.h</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/configparser.l">src/pmdas/perfevent/configparser.l</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/perfevent.conf">src/pmdas/perfevent/perfevent.conf</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/perfinterface.c">src/pmdas/perfevent/perfinterface.c</=
a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/perfinterface.h">src/pmdas/perfevent/perfinterface.h</=
a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/pmda.c">src/pmdas/perfevent/pmda.c</a><br>
<p><hr>
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/2a4908b390c0bf=
afee77e36148c449180c7a3ac2">2a4908b390c0</a>: perfevent_pmda: Fix names for=
the perfevent metrics for dynamic events
Change the illegal names for the metrics by normalizing characters such
as '-' to allowed character like '_'.
Signed-off-by: Hemant Kumar <[email protected]><p>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/pmda.c">src/pmdas/perfevent/pmda.c</a><br>
<p><hr>
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/72f3712fe1e218=
a719d9243e8b91103279c2c17e">72f3712fe1e2</a>: perfevent_pmda: Fix a segfaul=
t found with a qa test
Segfaulting if the config file doesn't have a dynamic event name (found
with test : qa/perfevent/test_lots_of_counters).
Signed-off-by: Hemant Kumar <[email protected]><p>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/configparser.l">src/pmdas/perfevent/configparser.l</a>=
<br>
<p><hr>
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/49a4f407de4480=
300a6f42247321d2c9a607a546">49a4f407de44</a>: perfevent_pmda: Fixups and ad=
ds testing mode
Fixes bugs found with qa tests. Also, adds a prefix variable to
distinguish between normal and testing mode.
Signed-off-by: Hemant Kumar <[email protected]><p>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/parse_events.c">src/pmdas/perfevent/parse_events.c</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/parse_events.h">src/pmdas/perfevent/parse_events.h</a>=
<br>
<p><hr>
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/a6936c28947162=
dc2cb57dc7baa23a73aa42bd74">a6936c289471</a>: qa/perfevent: Adds some tests=
for dynamic events
Signed-off-by: Hemant Kumar <[email protected]><p>
Added: <a href=3D"https://github.com/performancecopilot/pcp/blob/master/qa=
/perfevent/config/test_dynamic_counters.txt">qa/perfevent/config/test_dynam=
ic_counters.txt</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/qa/perfevent/GNUmakefile">qa/perfevent/GNUmakefile</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/qa/perfevent/perf_event_test.c">qa/perfevent/perf_event_test.c</a><br>
<p><hr>
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/3f7e7ac89d61dc=
d66fd8df3320293a1f53ee5ac8">3f7e7ac89d61</a>: doc/perfevent: Additional inf=
o regarding dynamic events
Signed-off-by: Hemant Kumar <[email protected]><p>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/man/man1/pmdaperfevent.1">man/man1/pmdaperfevent.1</a><br>
<p><hr>
<p>
[pcp:master] By Nathan Scott <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/c479a91a05c245=
2fbd7ed44783f855edd1d19ef4">c479a91a05c2</a>: Merge branch 'dynamic_events'=
of https://github.com/hkshaw1990/pcp into hemant-merge<p>
Added: <a href=3D"https://github.com/performancecopilot/pcp/blob/master/qa=
/perfevent/config/test_dynamic_counters.txt">qa/perfevent/config/test_dynam=
ic_counters.txt</a><br>
Added: <a href=3D"https://github.com/performancecopilot/pcp/blob/master/sr=
c/pmdas/perfevent/parse_events.c">src/pmdas/perfevent/parse_events.c</a><br=
>
Added: <a href=3D"https://github.com/performancecopilot/pcp/blob/master/sr=
c/pmdas/perfevent/parse_events.h">src/pmdas/perfevent/parse_events.h</a><br=
>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/man/man1/pmdaperfevent.1">man/man1/pmdaperfevent.1</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/qa/perfevent/GNUmakefile">qa/perfevent/GNUmakefile</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/qa/perfevent/perf_event_test.c">qa/perfevent/perf_event_test.c</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/GNUmakefile">src/pmdas/perfevent/GNUmakefile</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/architecture.c">src/pmdas/perfevent/architecture.c</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/architecture.h">src/pmdas/perfevent/architecture.h</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/configparser.h">src/pmdas/perfevent/configparser.h</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/configparser.l">src/pmdas/perfevent/configparser.l</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/perfevent.conf">src/pmdas/perfevent/perfevent.conf</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/perfinterface.c">src/pmdas/perfevent/perfinterface.c</=
a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/perfinterface.h">src/pmdas/perfevent/perfinterface.h</=
a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/pmda.c">src/pmdas/perfevent/pmda.c</a><br>
<p><hr>
<p>
[pcp:master] By Hemant Kumar <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/da1f3a25b761e8=
67ce67805494ebf4e0f784ae9a">da1f3a25b761</a>: qa/perfevent: update fakefs a=
nd expected test output for new metrics
Signed-off-by: Hemant Kumar <[email protected]><p>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/qa/756.out">qa/756.out</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/qa/perfevent/fakefs.tar.gz">qa/perfevent/fakefs.tar.gz</a><br>
<p><hr>
<p>
[pcp:master] By Nathan Scott <[email protected]>:<br>
<a href=3D"https://github.com/performancecopilot/pcp/commit/02341eabb78aa0=
14397a978c58728ae1dd597896">02341eabb78a</a>: pmdaperfevent: minor code inc=
onsistency cleanup on review<p>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/debian/copyright">debian/copyright</a><br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/architecture.c">src/pmdas/perfevent/architecture.c</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/architecture.h">src/pmdas/perfevent/architecture.h</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/configparser.l">src/pmdas/perfevent/configparser.l</a>=
<br>
Modified: <a href=3D"https://github.com/performancecopilot/pcp/blob/master=
/src/pmdas/perfevent/parse_events.c">src/pmdas/perfevent/parse_events.c</a>=
<br>
<p>
<div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>
You receive all messages sent to this group.
<p>
<a target=3D"_blank" href=3D"https://groups.io/g/pcp/message/15302">View/R=
eply Online (#15302)</a> |
<a target=3D"_blank" href=3D"mailto:[email protected]?subject=3DRe:%20%5Bpcp=
%5D%20Updates%20to%20Github%20%23github">Reply To Group</a>
| <a target=3D"_blank" href=3D"mailto:?subject=3DRe:%20%5Bpcp%5D%20Upd=
ates%20to%20Github%20%23github">Reply To Sender</a>
|
<a target=3D"_blank" href=3D"https://groups.io/mt/4437126?uid=3D174580">=
Mute This Topic</a>
=20
| <a href=3D"https://groups.io/g/pcp/post">New Topic</a><br>
<a href=3D"https://groups.io/mk?hashtag=3Dgithub&subid=3D354243">Mute #git=
hub</a>
<p>
<p>pcp mailing list<br />[email protected]<br /><a href=3D"https://groups.io/g=
/pcp/messages" target=3D"_blank">https://groups.io/g/pcp/messages</a></p>
<a href=3D"https://groups.io/g/pcp/editsub?uid=3D174580">Change Your Subsc=
ription</a><br>
<a href=3D"https://groups.io/g/pcp">Group Home</a><br>
<a href=3D"mailto:[email protected]">Contact Group Owner</a><br>
<a href=3D"https://groups.io/static/tos">Terms Of Service</a><br>
<a href=3D"https://groups.io/g/pcp/leave/354243/563757577/xyzzy">Unsubscri=
be From This Group</a><br>
<div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div>
--yabbadabbadoo--