Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: paflib/paflib

Tags

0.3.0

Toggle 0.3.0's commit message
Release 0.3.0

0.2.0

Toggle 0.2.0's commit message
Release 0.2.0

0.1.4

Toggle 0.1.4's commit message
Adjust SETUP_TOC for older versions

Older binutils doesn't support .TOC. properly, other than .TOC.@tocbase used in
OPD. Hence using different method of loading the toc pointer for older binutils.

	* ebb/ebb-callback-ppc64.S:  Adjust TOC.

0.1.3

Toggle 0.1.3's commit message
Adjust SETUP_TOC for older versions

Older binutils doesn't support .TOC. properly, other than .TOC.@tocbase used in
OPD. Hence using different method of loading the toc pointer for older binutils.

	* ebb/ebb-callback-ppc64.S:  Adjust TOC.

paflib-0.1

Toggle paflib-0.1's commit message
ebb: Fixes for PIC and stack alignment in callback

This patches fixes the stack alignment for EBB callback for FPR and
vector types and also fixes the TOC creation for PIC builds.

0.1-2

Toggle 0.1-2's commit message
ebb: Fix broken EBB sample period

The current implementation of reset_pmcs() in ebb/ebb-priv.h takes
the stored sample_period (passed by the user) and does the following:

        mtspr(PMC<n>, sample_period)

for each PMC, 1-6.  Performance monitor interrupts are generated wheni
the value in an enabled PMC transitions to where the most significant
bit becomes '1'.  If a user wants to get an event based interrupt, say,
every 1,000,000 cycles, then the PMC should be configured to count the
cycles event and its initial value should be set to 0x80000000 - 1000000.

With an initial value set this way, after 1 million cycles events occur,
the PMC value will transition to the value 0x80000000 and generate an
interrupt.  The patch fixes the library code to perform this calculation,
instead of expecting clients of the library to do it (which most would
not know, and it's certainly not documented that it's required).

0.1-1

Toggle 0.1-1's commit message
ebb: Reset MMCR0 independently of PAF_EBB_FLAGS_RESET_PMU

This patch makes __paf_ebb_ebb_hook clear MMCR0[PMAO] and set set
MMCR0[PMAE] indenpedently if PAF_EBB_FLAGS_RESET_PMU is used.

0.1

Toggle 0.1's commit message
paflib: Fix callback TOC generation for ELFv2

This patch fixes the TOC generations for ELFv2 by making a nop since
it is already synthesized in globals calls.