perf tools man pages on the web
Hi
I notice man pages on man7.org e.g.
https://www.man7.org/linux/man-pages/man1/perf.1.html
do not get updated every release, and I wondered if the perf tools man pages should also be under:
https://docs.kernel.org/tools/index.html
Thoughts?
Regards
Adrian
Quoted 5 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
Quoted 8 lines
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
https://docs.kernel.org/tools/index.html
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.
Thanks,
Ian
Quoted 2 lines
Regards
Adrian
Hi Ian and Adrian,
Quoted 12 lines · Ian Rogers
Quoted 10 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
Quoted 6 lines
Quoted 3 lines
https://docs.kernel.org/tools/index.html
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
I guess it's the RST format. I'm not sure if there's a converter from asciidoc to RST. Anyway having the perf man pages in the tools section looks good.
Quoted 6 lines
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.
Thanks for working on this. I really need to take a look...
Thanks,
Namhyung
Quoted 17 lines · Namhyung Kim
Hi Ian and Adrian,
Quoted 14 lines · Ian Rogers
Quoted 12 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
I guess it's the RST format. I'm not sure if there's a converter from asciidoc to RST.
Could use the html files that are already generated by:
make -C perf/tools html
Quoted 14 lines
Anyway having the perf man pages in the
tools section looks good.Quoted 6 lines
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.Thanks for working on this. I really need to take a look...
Thanks,
Namhyung
Quoted 24 lines · Adrian Hunter
Quoted 22 lines · Namhyung Kim
Hi Ian and Adrian,
Quoted 18 lines · Ian Rogers
Quoted 5 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
Quoted 8 lines
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
https://docs.kernel.org/tools/index.html
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
Quoted 6 lines
Quoted 2 lines
I guess it's the RST format. I'm not sure if there's a converter from asciidoc to RST.
Could use the html files that are already generated by:
make -C perf/tools html
A lot of the man page makefile code comes from git and wasn't in great shape the last I looked [1]. I believe that would be true for the HTML output. As there are existing dependencies on rst2man for BPF [2], I think it'd be cleaner to migrate all the man pages to rst format with new man page build rules using rst2man. Wdyt?
Thanks,
Ian
[1] https://lore.kernel.org/all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/include/uapi/linux/bpf.h#n1538
Quoted 15 lines
Quoted 14 lines
Anyway having the perf man pages in the
tools section looks good.Quoted 6 lines
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.Thanks for working on this. I really need to take a look...
Thanks,
Namhyung
Quoted 30 lines · Ian Rogers
Quoted 29 lines · Adrian Hunter
Quoted 17 lines · Namhyung Kim
Hi Ian and Adrian,
Quoted 14 lines · Ian Rogers
Quoted 12 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
I guess it's the RST format. I'm not sure if there's a converter from asciidoc to RST.
Could use the html files that are already generated by:
Quoted 7 lines
Quoted 1 line
make -C perf/tools html
A lot of the man page makefile code comes from git and wasn't in great shape the last I looked [1]. I believe that would be true for the HTML output. As there are existing dependencies on rst2man for BPF [2], I think it'd be cleaner to migrate all the man pages to rst format with new man page build rules using rst2man. Wdyt?
That seems like a larger job. For now, I am just suggesting copying the html files onto kernel.org.
+ Mauro
Mauro, do you know if that is feasible?
Quoted 22 lines
Thanks,
Ian[1] https://lore.kernel.org/all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/include/uapi/linux/bpf.h#n1538Quoted 15 lines
Quoted 14 lines
Anyway having the perf man pages in the
tools section looks good.Quoted 6 lines
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.Thanks for working on this. I really need to take a look...
Thanks,
Namhyung
Quoted 34 lines · Adrian Hunter
Quoted 32 lines · Ian Rogers
Quoted 30 lines · Adrian Hunter
Quoted 17 lines · Namhyung Kim
Hi Ian and Adrian,
Quoted 14 lines · Ian Rogers
Quoted 12 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
I guess it's the RST format. I'm not sure if there's a converter from asciidoc to RST.
Could use the html files that are already generated by:
make -C perf/tools html
Quoted 8 lines
Quoted 5 lines
A lot of the man page makefile code comes from git and wasn't in great shape the last I looked [1]. I believe that would be true for the HTML output. As there are existing dependencies on rst2man for BPF [2], I think it'd be cleaner to migrate all the man pages to rst format with new man page build rules using rst2man. Wdyt?
That seems like a larger job. For now, I am just suggesting copying the html files onto kernel.org.
So I'm not sure the HTML is in any kind of shape. The build rules and configuration files are remnants of what git had many many years ago. I did a quick experiment going via docbook (which we do currently in the man page generation) and using pandoc to write out rst:
$ cd tools/perf/Documentation $ asciidoc -o - -b docbook -d manpage -f asciidoc.conf perf.txt|pandoc -f docbook -t rst > perf.rst $ man2rst perf.rst perf.man $ man ./perf.man
and got something functional but with these warnings:
perf.rst:7: (ERROR/3) Unexpected indentation. perf.rst:11: (WARNING/2) malformed hyperlink target. perf.rst:66: (WARNING/2) malformed hyperlink target. perf.rst:76: (WARNING/2) malformed hyperlink target.
So we might be able to convert somewhat automatically but have to fix up hyperlinks.
Thanks,
Ian
Quoted 27 lines
+ Mauro
Mauro, do you know if that is feasible?
Quoted 22 lines
Thanks,
Ian[1] https://lore.kernel.org/all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/include/uapi/linux/bpf.h#n1538Quoted 15 lines
Quoted 14 lines
Anyway having the perf man pages in the
tools section looks good.Quoted 6 lines
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.Thanks for working on this. I really need to take a look...
Thanks,
Namhyung
Quoted 15 lines · Ian Rogers
Quoted 5 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
Quoted 8 lines
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
https://docs.kernel.org/tools/index.html
Thoughts?
Quoted 8 lines
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.
Speaking of the wiki, anyone know how to change the "Set $wgLogo to the URL path to your own logo image." image?
Quoted 20 lines · Adrian Hunter
Quoted 18 lines · Ian Rogers
Quoted 5 lines · Adrian Hunter
Hi
I notice man pages on man7.org e.g.
Quoted 8 lines
https://www.man7.org/linux/man-pages/man1/perf.1.htmldo not get updated every release, and I wondered if the perf tools man pages should also be under:
https://docs.kernel.org/tools/index.html
Thoughts?
Sounds good to me. I'm assuming it would be some kind of build step that would take the man pages and add them to what linux-doc needs?
Quoted 8 lines
Quoted 5 lines
Fwiw, there has been some effort to try to improve the wiki:
https://perf.wiki.kernel.org/index.php/Main_Page
For example, the useful links are now broken apart and have more links, there is a work-in-progress glossary. Perhaps there can be some guidance on what to capture and where.Speaking of the wiki, anyone know how to change the "Set $wgLogo to the URL path to your own logo image." image?
+1000
Someone at RedHat knows :-)
Ian
Em Wed, Aug 17, 2022 at 06:02:25AM -0700, Ian Rogers escreveu:
Quoted 7 lines · Adrian Hunter
Quoted 2 lines
Speaking of the wiki, anyone know how to change the "Set $wgLogo to the URL path to your own logo image." image?
+1000
Someone at RedHat knows :-)
Documentation is at the Media Wiki site, admin up to a point was John Kacur, John?
https://www.mediawiki.org/wiki/Manual:FAQ#Changing_the_interface>
--------------------- 8< ----------------------------------
How do I change the logo?
The logo that appears in the top left of each page is determined by the $wgLogo configuration line in the LocalSettings.php file.
There are two ways to change the logo:
Upload a picture to your wiki using the normal file uploading interface. This allows the logo to be replaced easily, so you may want to protect the page if you use this method.
Then add the $wgLogo line to LocalSettings.php, for example:
$wgLogo = "{$wgUploadPath}/6/62/mylogo.png";
Upload an image to your server by other means (such as FTP).
Add the $wgLogo line to LocalSettings.php, for example:
$wgLogo = "{$wgScriptPath}/mylogo.jpg";
(In this example, the image is in the same folder as the LocalSettings.php file.)
If you want to change the logo in only specific pages, override #p-logo css's background-image property or use third party extension like
Extension:LogoFunctions. Caution! Caution: Do not simply overwrite
the default logo installed with MediaWiki (/resources/assets/wiki.png); this file will be overwritten when you upgrade. A good size for a square logo is 135x135px or 150x150px, but the logo need not be square, especially if it contains text below an image. The maximum logo size in Vector is ~160x160px, while MonoBook's is ~155x155px. A logo that is too large will be cut off.
--------------------- 8< ----------------------------------
- Arnaldo
A message that is not in the archive (sent off-list or not yet received): CA+JHD90RuF+sjO7t40voiQrXbaH172Le=KeKGzTrK_tBquVbAg@mail.gmail.com
Quoted 51 lines · Arnaldo Carvalho de Melo
Quoted 47 lines · Arnaldo Carvalho de Melo
Em Wed, Aug 17, 2022 at 06:02:25AM -0700, Ian Rogers escreveu:
Quoted 7 lines · Adrian Hunter
Quoted 2 lines
Speaking of the wiki, anyone know how to change the "Set $wgLogo to the URL path to your own logo image." image?
+1000
Someone at RedHat knows :-)
Documentation is at the Media Wiki site, admin up to a point was John Kacur, John?
https://www.mediawiki.org/wiki/Manual:FAQ#Changing_the_interface>
--------------------- 8< ----------------------------------
How do I change the logo?
The logo that appears in the top left of each page is determined by the $wgLogo configuration line in the LocalSettings.php file.
There are two ways to change the logo:
Upload a picture to your wiki using the normal file uploading interface. This allows the logo to be replaced easily, so you may want to protect the page if you use this method.
Then add the $wgLogo line to LocalSettings.php, for example:
$wgLogo = "{$wgUploadPath}/6/62/mylogo.png";
Upload an image to your server by other means (such as FTP).
Add the $wgLogo line to LocalSettings.php, for example:
$wgLogo = "{$wgScriptPath}/mylogo.jpg";
(In this example, the image is in the same folder as the LocalSettings.php file.)
If you want to change the logo in only specific pages, override #p-logo css's background-image property or use third party extension like
Extension:LogoFunctions. Caution! Caution: Do not simply overwrite
the default logo installed with MediaWiki (/resources/assets/wiki.png); this file will be overwritten when you upgrade. A good size for a square logo is 135x135px or 150x150px, but the logo need not be square, especially if it contains text below an image. The maximum logo size in Vector is ~160x160px, while MonoBook's is ~155x155px. A logo that is too large will be cut off.
Quoted 6 lines
Quoted 1 line
--------------------- 8< ----------------------------------
I got it sorted out with the kernel.org admins.
Please force reload.
You made my day!
Thanks,
Ian
Quoted 1 line
- Arnaldo
Quoted 50 lines · Arnaldo Carvalho de Melo
On Wed, Aug 17, 2022, 10:21 AM Arnaldo Carvalho de Melo <[email protected] <mailto:[email protected]>> wrote:
Em Wed, Aug 17, 2022 at 06:02:25AM -0700, Ian Rogers escreveu:
> On Wed, Aug 17, 2022 at 1:55 AM Adrian Hunter <[email protected] <mailto:[email protected]>> wrote:
> > Speaking of the wiki, anyone know how to change the
> > "Set $wgLogo to the URL path to your own logo image." image?> +1000
> Someone at RedHat knows :-)
Documentation is at the Media Wiki site, admin up to a point was John Kacur, John?
https://www.mediawiki.org/wiki/Manual:FAQ#Changing_the_interface <https://www.mediawiki.org/wiki/Manual:FAQ#Changing_the_interface>>
--------------------- 8< ----------------------------------
How do I change the logo?
The logo that appears in the top left of each page is determined by the $wgLogo configuration line in the LocalSettings.php file.
There are two ways to change the logo:
Upload a picture to your wiki using the normal file uploading interface. This allows the logo to be replaced easily, so you may want to protect the page if you use this method.
Then add the $wgLogo line to LocalSettings.php, for example:
$wgLogo = "{$wgUploadPath}/6/62/mylogo.png";
Upload an image to your server by other means (such as FTP).
Add the $wgLogo line to LocalSettings.php, for example:
$wgLogo = "{$wgScriptPath}/mylogo.jpg";
(In this example, the image is in the same folder as the LocalSettings.php file.)
If you want to change the logo in only specific pages, override #p-logo css's background-image property or use third party extension like Extension:LogoFunctions. Caution! Caution: Do not simply overwrite the default logo installed with MediaWiki (/resources/assets/wiki.png); this file will be overwritten when you upgrade. A good size for a square logo is 135x135px or 150x150px, but the logo need not be square, especially if it contains text below an image. The maximum logo size in Vector is ~160x160px, while MonoBook's is ~155x155px. A logo that is too large will be cut off.
Quoted 6 lines
--------------------- 8< ----------------------------------
I got it sorted out with the kernel.org <http://kernel.org> admins.
Please force reload.
Is it just me or has it disappeared again?