cunctator / traceshark Goto Github PK
View Code? Open in Web Editor NEWThis is a tool for Linux kernel ftrace and perf events visualization
License: GNU General Public License v3.0
This is a tool for Linux kernel ftrace and perf events visualization
License: GNU General Public License v3.0
These two tools seem alike. What are the pros & cons, or differences in your view ?
Can you kindly provide it in the README, so we can easily know what we can expect ?
Hi there, I'm not sure this is a huge priority (probably most users are on linux) but just reporting these issues compiling on macOS:
$ qmake --version
QMake version 3.1
Using Qt version 5.15.2 in /usr/local/Cellar/qt@5/5.15.2/lib
$ make install
/Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -fwhole-program -O2 -std=c++11 -headerpad_max_install_names -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -Wl,-rpath,@executable_path/../Frameworks -o traceshark.app/Contents/MacOS/traceshark obj/qcustomplot.o obj/abstracttaskmodel.o obj/cpuselectdialog.o obj/cpuselectmodel.o obj/cursor.o obj/cursorinfo.o obj/errordialog.o obj/eventinfodialog.o obj/eventselectdialog.o obj/eventselectmodel.o obj/eventsmodel.o obj/eventswidget.o obj/graphenabledialog.o obj/infowidget.o obj/licensedialog.o obj/mainwindow.o obj/migrationarrow.o obj/migrationline.o obj/regexdialog.o obj/regexwidget.o obj/statslimitedmodel.o obj/statsmodel.o obj/tableview.o obj/taskgraph.o obj/taskmodel.o obj/taskrangeallocator.o obj/taskselectdialog.o obj/tasktoolbar.o obj/traceplot.o obj/tracesharkstyle.o obj/valuebox.o obj/yaxisticker.o obj/abstracttask.o obj/cpufreq.o obj/cpuidle.o obj/cputask.o obj/filterstate.o obj/regexfilter.o obj/task.o obj/tcolor.o obj/traceanalyzer.o obj/fileinfo.o obj/traceevent.o obj/tracefile.o obj/traceparser.o obj/ftraceparams.o obj/ftracegrammar.o obj/perfparams.o obj/perfgrammar.o obj/indexwatcher.o obj/loadbuffer.o obj/loadthread.o obj/tthread.o obj/workqueue.o obj/mempool.o obj/errors.o obj/main.o obj/setting.o obj/settingstore.o obj/traceshark.o obj/translate.o obj/bitvector.o obj/error.o obj/qrc_traceshark.o obj/moc_qcustomplot.o obj/moc_abstracttaskmodel.o obj/moc_cpuselectdialog.o obj/moc_cpuselectmodel.o obj/moc_cursor.o obj/moc_cursorinfo.o obj/moc_errordialog.o obj/moc_eventinfodialog.o obj/moc_eventselectdialog.o obj/moc_eventselectmodel.o obj/moc_eventsmodel.o obj/moc_eventswidget.o obj/moc_graphenabledialog.o obj/moc_infowidget.o obj/moc_licensedialog.o obj/moc_mainwindow.o obj/moc_migrationarrow.o obj/moc_migrationline.o obj/moc_regexdialog.o obj/moc_regexwidget.o obj/moc_statslimitedmodel.o obj/moc_statsmodel.o obj/moc_tableview.o obj/moc_taskmodel.o obj/moc_taskselectdialog.o obj/moc_tasktoolbar.o obj/moc_traceplot.o obj/moc_valuebox.o obj/moc_tthread.o -F/usr/local/Cellar/qt@5/5.15.2/lib -framework QtPrintSupport -framework QtWidgets -framework QtGui -framework AppKit -framework Metal -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL
ld: warning: object file (obj/abstracttaskmodel.o) was built for newer macOS version (11.0) than being linked (10.13)
ld: warning: object file (obj/cpuselectmodel.o) was built for newer macOS version (11.0) than being linked (10.13)
ld: warning: object file (obj/cursorinfo.o) was built for newer macOS version (11.0) than being linked (10.13)
ld: warning: object file (obj/regexwidget.o) was built for newer macOS version (11.0) than being linked (10.13)
Undefined symbols for architecture x86_64:
"QArrayData::deallocate(QArrayData*, long long, long long)", referenced from:
CPUSelectModel::~CPUSelectModel() in cpuselectmodel.o
CPUSelectModel::~CPUSelectModel() in cpuselectmodel.o
CPUSelectModel::~CPUSelectModel() in cpuselectmodel.o
CPUSelectModel::rowToName(int, bool&) const in cpuselectmodel.o
CPUSelectModel::data(QModelIndex const&, int) const in cpuselectmodel.o
CPUSelectModel::headerData(int, Qt::Orientation, int) const in cpuselectmodel.o
CPUSelectModel::rowToName(int, bool&) const (.cold.1) in cpuselectmodel.o
...
"QByteArray::reallocData(long long, QArrayData::AllocationOption)", referenced from:
CursorInfo::moveTriggered() in cursorinfo.o
"QString::toLocal8Bit_helper(QChar const*, long long)", referenced from:
CursorInfo::moveTriggered() in cursorinfo.o
"QString::fromUtf8(QByteArrayView)", referenced from:
CursorInfo::CursorInfo(int, QWidget*) in cursorinfo.o
CursorInfo::updateValue(vtl::Time) in cursorinfo.o
CursorInfo::createInputMask(unsigned int) in cursorinfo.o
RegexWidget::RegexWidget(QWidget*, RegexWidget::Type) in regexwidget.o
RegexWidget::setType(RegexWidget::Type) in regexwidget.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [traceshark.app/Contents/MacOS/traceshark] Error 1
I'm not sure if this is a mismatch in Qt versions (I'm using 5.15 -- the version installed from brew install qt@5
, the readme says 5.13. Or perhaps I'm just holding it totally wrong!
Hi there, I'm not sure this is a huge priority (probably most users are on linux) but just reporting these issues compiling on macOS:
misc/translate.cpp:141:7: error: use of undeclared identifier 'REG_EEND'
case REG_EEND:
^
misc/translate.cpp:153:7: error: use of undeclared identifier 'REG_ESIZE'
case REG_ESIZE:
If I run man 3 regex
to list the set of errors that macOS regex has, we see these are not defined:
DIAGNOSTICS
Non-zero error codes from regcomp() and regexec() include the following:
REG_NOMATCH The regexec() function failed to match
REG_BADPAT invalid regular expression
REG_ECOLLATE invalid collating element
REG_ECTYPE invalid character class
REG_EESCAPE `\' applied to unescapable character
REG_ESUBREG invalid backreference number
REG_EBRACK brackets `[ ]' not balanced
REG_EPAREN parentheses `( )' not balanced
REG_EBRACE braces `{ }' not balanced
REG_BADBR invalid repetition count(s) in `{ }'
REG_ERANGE invalid character range in `[ ]'
REG_ESPACE ran out of memory
REG_BADRPT `?', `*', or `+' operand invalid
REG_EMPTY empty (sub)expression
REG_ASSERT cannot happen - you found a bug
REG_INVARG invalid argument, e.g. negative-length string
REG_ILLSEQ illegal byte sequence (bad multibyte character)
Qt building environment is complex to setup to many of us.
Are you planning on provide pre-built releases in the future.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.