Menu

Adding profiling variables

2019-03-01
2019-03-04
  • Bob Stafford

    Bob Stafford - 2019-03-01

    For my project just using the condition variable for profiling is not enough I need to use multiple profiling variables.

    I've been trying to add these additional profiling parameters to the processing but it's truning out to be more complicated than I'd hoped, I've had to change the rng file, the stylesheets, and even the daps script but I've still not got it working.
    Is there a simpler way to add new profiling variables to the ones initially provided by DAPS?

     
  • Frank Sundermeyer

    DAPS supports all profiling variables that upstream DocBook supports. These are

    • XML: arch, DC-file: PROFARCH
    • XML: audience, DC-file: PROFAUDIENCE
    • XML: condition, DC-file: PROFCONDITION
    • XML: conformance, DC-file: PROFCONFORMANCE
    • XML: lang, DC-file: PROFLANG
    • XML: os, DC-file: PROFOS
    • XML: outputformat, DC-file: PROFOUTPUTFORMAT
    • XML: revision, DC-file: PROFREVISION
    • XML: revisionflag="added|changed|deleted|off, DC-file: PROFREVISIONFLAG
    • XML: role, DC-file: PROFROLE
    • XML: security, DC-file: PROFSECURITY
    • XML: status, DC-file: PROFSTATUS
    • XML: userlevel, DC-file: PROFUSERLEVEL
    • XML: vendor, DC-file: PROFVENDOR
    • XML: wordsize, DC-file: PROFWORDSIZE

    All but revisionflag can be used with arbitrary strings, so they are not bound to a certain usecase. Therefore the list above should be sufficient for almost all usecases (if not, your docs will become difficult to maintain anyway ;-D).
    With the SUSE documentation, we use arch in its intended sense (to differentiate between architectures), but os to distinguish between different product flavors.

    For detailed information on how to use profiling with DAPS, refer to the DAPS documentation:

    NOTE: To profile for more than one value for a single profiling attribute, you need to separate the values in the DC-file by semicolon:

    PROFARCH="i586;i686,x86_64"
    PROFOS="basic;professional"
    PROFVENDOR="MyCompany"
    
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.